Text Tools
Compare, count, sort, preview, and clean up plain text.
-
Compare two texts and see the differences
Paste two blocks of text to see every added and removed line highlighted, instantly in your browser.
-
Preview Markdown as HTML live
Paste Markdown to see a live-rendered HTML preview instantly in your browser.
-
Count words and characters online
Get a live word count, character count, sentence count, and reading time, instantly in your browser.
-
Sort and de-duplicate lines online
Sort lines alphabetically or by length, remove duplicates, and strip blank lines, instantly in your browser.
-
Clean whitespace and line endings online
Trim trailing whitespace, collapse repeated blank lines, and normalize line endings, instantly in your browser.
About Text Tools
Diff highlights exactly what changed between two blocks of text, which beats reading both when the difference is one character. Word and character count handles limits that are enforced rather than suggested. Sort and de-duplicate cleans up a list. The Markdown previewer renders as you type, so you can check a README before committing it.
The whitespace cleaner is the unglamorous one that fixes real bugs. Trailing spaces, mixed tabs, non-breaking spaces pasted from a document, and Windows line endings in a Unix file all break things quietly — a shell script with CRLF endings fails with an error message that mentions none of this. All of it runs in the page, so pasting a block of production log text sends it nowhere.