EDF/BDF to ASCII converter

This program converts all the signals in an EDF or BDF file (European Data Format) to a plain ASCII text-file.
It supports different samplerates between the signals.

This is a commandline tool without a grafical user interface, it can be used in scripts
or bat-files to convert multiple files at a time or in an automated environment.

If you want to convert a single file and you prefer an easy to use grafical interface,
than use EDFbrowser, it gives you all the benefits of the converter plus a lot more.
Start EDFbrowser, go to "Tools" -> "Export EDF/BDF to ASCII".


edf2ascii.exe converts all signals in an EDF file to one ASCII table.

The file must have .EDF or .edf or .BDF or .bdf as extension, so rename any other extensions.

Open a DOS box in the edf2ascii directory. Then type edf2ascii drive:folder/filename.
Three ASCII output files are made in the same folder as the EDF file:

- filename_header.txt contains the general header of the EDF file.
- filename_signals.txt contains all signal headers of the EDF file.
- filename_data.txt contains all signals.
- filename_annotations.txt contains all annotations.

filename_data.txt contains a separate line for each Sampletime that occurs.
These lines are separated by a linefeed only, so the file does NOT look OK in Notepad: use Wordpad instead.

Each line contains the comma-separated values of the Sampletime and of all Samples that were taken at that time.
Sampletime is expressed in seconds, while sample values are expressed in the Physical dimensions that are specified
in filename_signals.txt. All values have a dot (.) as decimal separator.

Different sampling frequencies are allowed in the file. In that case, not all signals are sampled at each Sampletime.
Those sample values are simply left empty, but the comma-separator is there.


This is free software, it is experimental and available under the GPL License version 2.
Despite this software is intend to be usefull, there is no warranty, use this software at your own risk.

Binary compiled on OpenSUSE Linux 11.0

For Windows 2000/XP

The sourcecode

Feedback to: teuniz@gmail.com

Other EDF/BDF software