About This Tool

What does this tool do?

A cross-platform line-ending converter that normalizes source code, shell scripts, and configuration files between Unix/Linux/macOS LF (\n) and Windows/DOS CRLF (\r\n). Features automatic EOL detection, classic Mac CR (\r) handling, trailing whitespace stripping, blank-line collapsing, POSIX final-newline enforcement, and inline visual EOL badges.

When should you use it?

Use this tool when fixing `/usr/bin/env: 'bash\r': No such file or directory` script errors on Linux/Docker, resolving Git `core.autocrlf` diff noise across Windows and macOS teams, or preparing batch scripts and configuration files for target operating systems.

Key Capabilities & Features

Bidirectional conversion between Unix/Linux/macOS LF (\n) and Windows/DOS CRLF (\r\n) line endings
Automatic mixed line-ending detection with exact LF, CRLF, CR, and byte-size diagnostics
Inline visual EOL badges inside the code editor to inspect LF and CRLF line breaks per line
Configurable classic Mac CR (\r) normalization, trailing whitespace stripping, blank-line collapsing, and POSIX final newline
Side-by-side responsive editor with file upload, multi-language syntax highlighting, clipboard copy, and file download