Loading…
Loading…
Collapse repeated spaces into one, trim spaces from the start and end of lines, or remove every space. Line breaks are kept.
Also covers: Remove whitespace
The result appears here as you type.
Double spaces often sneak in when text is justified, copied from PDFs, or typed with two spaces after a period.
Collapse repeated spaces to one (the default), only trim the ends of each line, or remove every space, handy for IDs and codes that must contain none.
Line breaks are never touched, so lists and paragraphs keep their shape.
Yes by default: tabs are treated like spaces. Untick Include tabs to leave tab-aligned text, like TSV data, untouched.
To clean up values that must not contain any, like phone numbers, IBANs, card numbers, hashes, or keys pasted with grouping spaces.
No. Everything runs in your browser, and nothing you paste is sent to a server or stored.
Text & code
Compare two texts or code files side by side, with changed words highlighted. Ignore whitespace or case, and export a unified .diff patch that git apply accepts.
Count
Count words, characters, sentences, paragraphs, and lines as you type, with reading and speaking time. Check text against X, SEO title, and meta description limits.
Case
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more, line by line.
Cleanup
Clean up messy text: remove extra spaces, blank lines, invisible characters, and HTML tags, straighten quotes, and rejoin hard-wrapped lines.
Lines
Delete repeated lines from a list and keep the original order. Choose case sensitivity, whether to ignore surrounding spaces, and whether to keep the first or last copy.
Lines
Delete blank lines from text, or collapse runs of blank lines down to one so paragraphs stay separated.