# Converting line delimiters

The Java editor can handle Java files with heterogenous line delimiters. However other external editors or tools may not be able to handle them correctly.

If you want to change line delimiters used by your Java files:

1. Open a Java file in the Java editor
2. Select Source > Convert Line Delimiters To from the menu bar
3. Select the delimiters to which you want to convert the file to (one of CRLF, LF, CR)

Java editor

Using the Java editor

Source menu