Text Formatter & Cleaner

Paste in text copied from Word, a PDF, or a web page and use the options below to clean it up. Strip HTML tags, fix whitespace, convert case, collapse blank lines, or remove duplicates — all in one place, entirely in your browser.

Clean up
Case
Input
Output

Advertisement

Frequently Asked Questions

How do I remove formatting from text copied from Word or a web page?

Enable the "Remove formatting" option and paste your text into the input box. This strips all HTML tags, converts smart quotes and special dashes to standard characters, and removes non-standard whitespace — leaving clean, plain text.

What does Title Case do?

Title Case capitalises the first letter of every word and lowercases the rest. It's useful for formatting headings, product names, or titles. Example: "the quick brown fox" becomes "The Quick Brown Fox".

What is the difference between "Remove extra blank lines" and "Remove all line breaks"?

"Remove extra blank lines" collapses three or more consecutive blank lines down to a single blank line, preserving paragraph structure. "Remove all line breaks" goes further, joining every line into a single unbroken paragraph — useful when you need to paste text into a system that doesn't accept line breaks.

Is my text sent to a server?

No. All formatting operations run entirely in your browser using JavaScript. Your text never leaves your device and is never stored, logged, or transmitted anywhere.

Can I use this to remove duplicate lines from a list?

Yes. Enable "Remove duplicate lines" and paste your list (one item per line). Duplicates are removed, keeping the first occurrence. Tick "Case-insensitive" if you want "Apple" and "apple" to count as duplicates.