Text Formatter & Word Counter
Clean spacing, change letter case, build URL slugs, and count words without uploading your text.
Formatting happens in your browser. Your text is not uploaded or saved.
0 words · 0 characters
Choose a format that fits the job
A pasted heading, an untidy list, and an email draft need different treatments. This formatter makes mechanical changes you can inspect before copying. It leaves your original in the first box so you can compare both versions.
What each action changes
- Clean spacing replaces runs of spaces and tabs with one space and trims each line. It preserves line breaks, including blank lines inside the text. Avoid it for code, where indentation can matter.
- Title Case capitalises the first character of each whitespace-separated word. It is a simple label style, not a publishing style guide: small words such as “and” are capitalised too.
- Sentence case lowercases the text and capitalises the start and letters after sentence-ending punctuation followed by a space. Check names, acronyms, and abbreviations afterwards.
- URL slug converts Latin text to lowercase, strips accents where possible, and replaces separators with hyphens. “Café opening hours!” becomes “cafe-opening-hours”. Non-Latin characters are removed; review the result before using it in a URL.
- Remove duplicate lines keeps the first exact occurrence of each line. “Apple” and “apple” remain different. Clean spacing first if trailing spaces should not distinguish lines.
A practical cleanup workflow
Try the sample, choose Clean spacing, then Use result as input. Apply Title Case and compare it with the original. For a list, run duplicate removal after spacing cleanup. Copy only when you are happy with the result; the tool never changes your clipboard automatically.
How the counts work
Word count splits on whitespace, so hyphenated words count as one and languages without spaces need a specialist counter. Character count uses Unicode code points: some displayed emoji contain several code points. Reading time is a rough estimate at 200 words per minute, not a measure of difficulty or comprehension.
Formatting versus grammar
Capitalisation does not fix agreement, word choice, or unclear meaning. Use the AI grammar editor for language suggestions and review changes carefully. Read our text and data conversion guide for examples of what to preserve.