The Line Break Analyzer examines the invisible line endings in your text or file and tells you exactly what it finds. Every line of text ends with one of three characters - CRLF (\r\n, Windows), LF (\n, Unix/macOS) or CR (\r, classic Mac) - and this tool detects, counts, and reports all of them.
It is built with plain vanilla JavaScript and runs fully in your browser, so your text never leaves your device. Paste text or upload a file and the analysis appears instantly: the detected line ending style, total, longest, shortest and average line lengths, blank lines, consecutive break runs, trailing newline, and - for mixed files - which lines use a foreign ending.
Best of all, it not only diagnoses but also fixes. The Fix & Convert panel rewrites your text using a single chosen line ending, so a Windows-style file can become Unix-style (or vice versa) in one click. Mixed endings are a common cause of subtle bugs in scripts and version control, and this tool makes them easy to spot and resolve.