endline: change end-of-line characters in a textfile

Courtesy of the Sork Lab in Ecology & Evolutionary Biology at UCLA. Written by Doug Scofield.

Note: input file size must be less than 50 MB

Timestamped copies of input and output files can be archived on the server.
Enter (possibly new) name of archive in the labtools home directory in which to keep these files:

Skip the archive step

Input file:
Input file end-of-line will be detected automatically.

Report on the end-of-line characters used by the input file, but produce no output.

Output file end-of-line should be:
'\n' (as on Unix/Linux)
'\r' (as on Macintosh)
'\r\n' (as on Windows)
none (remove completely)

Duplicate end-of-line for each line (double-space)

No other part of the input file will be changed.

Output file name (if blank will be "{unix|mac|windows|none}_your-input-filename"):

Output file will be returned directly to your browser. You might need to look for it in your Downloaded Files folder.


This web page will change the end-of-line character in text files to another format. This is a task that can be difficult to do if you are not used to working with text editors or regular expression processing.

You have the option to report on the end-of-line characters used in the file without producing output.

You also have the option to duplicate the end-of-line characters for each line, in effect creating a double-spaced file.