Features at a glance
Key features include support for converting Unicode UTF-16 and Unicode UTF-8 files, support for converting UTF-16 files to UTF-8 ones, handling of Unicode BOM (Byte Order Mark) encodings, support for several conversion modes, including paired, in-place, 7-bit, ISO or stdio, support for skipping non-regular and binary files, as well as the ability to keep the original date of the converted file.
Additionally, the software is very secure and comes with native support for several languages, including English, German, Brazilian Portuguese, French, Spanish, Traditional Chinese, Danish, Russian, Vietnamese, Dutch, Hungarian, Esperanto, Norwegian Bokmal, Serbian, Polish and Ukrainian.
The program includes many command-line options, which allow users to convert only line breaks, convert between DOS and ISO-8859-1 character sets, use various code pages, change the conversion mode, follow symbolic links and convert the targets, replace symbolic links with converted files, as well as to keep targets and symbolic links untouched.
Under the hood, supported OSes and availability
This project is actually an update of Benjamin Lin's implementations. Therefore, it also supports UTF-8 and UTF-16 conversions, and runs well on Linux, Microsoft Windows and BSD operating systems. It is written entirely in the C programming language.
The Dos2Unix project can be easily installed from the default software repositories of your GNU/Linux distribution. If the package is not available on your operating system, then you can use the universal tarball provided by Softpedia on the dedicated download section above.
Reviewed by Marius Nestor, last updated on October 14th, 2014
In a hurry? Add it to your Download Basket!
- New option -i, --info, display file information. This new option prints number of line breaks (DOS Unix Mac), the byte order mark, and if the file is text or binary. It can also print the names of files that would be converted.
Application descriptionDos2Unix and Unix2Dos are two open source command-line programs that have been designed from the ground up to be used ...