Open a local file or use the input controls.
Files stay on your device
Line Counter
Count total, blank, and nonblank lines plus Unicode characters in pasted text or a local file.
Private browser workspaceInput: UTF-8 text → Output: Counts, JSON
⌁
Your file never leaves this browser
Processing happens locally using browser APIs and on-device code. Closing this tab clears the working data.
How it works01 02 03
Done in three simple steps
Paste text or open a UTF-8 file, then count its lines.
Review the result, then download it.
Frequently asked questions
Does this tool upload my input?+
No. Your input is processed on your device using browser APIs and local code.
How are Windows line endings counted?+
CRLF is one line break, just like LF or CR. A line containing only whitespace counts as blank.
What are the limits?+
5-million-character limit. Empty input has zero lines; a trailing line break adds one blank line.