Developer
Whitespace & Line Ending Fixer
Paste code or open a file to fix line endings, indentation and stray whitespace.
Preparing tool
How to use Whitespace & Line Ending Fixer
- Paste your text or open a file (open a file to keep its original line endings).
- Choose the line ending, indentation and cleanup options.
- Check the change summary, then copy or download the result.
What are the limits of Whitespace & Line Ending Fixer?
Browsers turn pasted line breaks into LF, so open a file if you need to detect CRLF in it. Tab conversion works on leading indentation unless you choose all tabs. It does not understand code, so it may touch spaces inside multi-line strings. Your text stays on your device.