Report

Help us improve this tool

Line Length Checker

Find lines over a max length, count characters per line, and highlight long lines in prose or code.

O M T

Check line lengths in text and code

Paste prose, logs, or source code and set a maximum line length (default 80 characters). The tool lists every line with its character count, flags lines that exceed the limit, and shows the longest line in the document, useful for README style guides, PEP 8 E501 reviews, and commit message linting.

Toggle Show only lines over the limit to focus on violations. Empty lines count as zero-length rows so you can spot trailing whitespace issues in editors that hide them.

Related: Character Counter, Alphabetical Order Tool.

Frequently Asked Questions

Do line endings affect the count?

Lines are split on LF or CRLF. Carriage returns are not counted as part of the line content.

Can I use a 120-column limit?

Yes. Enter any positive maximum up to 10,000 characters.

Is my text stored on a server?

No. Processing happens entirely in the browser.