Whitespace cleanup
Wrapping
Per-line edits
Tabs, numbering, line endings
Online Text Converter (Case, Cleanup, Encode/Decode)
Word Formatter Online (Clean Text, Case Convert, Sort Words)
Slug Tool (Cal 50) — URL Slug Generator With 50-Character Limit
Online Text Converter to PDF (Paste Text → Download PDF)
Online Text Converter From Image (OCR) — Extract Text
Online Markdown Converter (Markdown ↔ HTML)
Online Markdown Converter to PDF (Print & Save)
How to use
Choose the rules you want, then format and copy/download the output.
- Paste your text into the input box.
- Select options (trim, collapse spaces, wrap width, prefixes, numbering, line endings).
- Click Format.
- Copy the output or download it as a .txt file.
FAQ
Does this text formatter run in my browser or on a server?
It runs in your browser; the tool JavaScript formats text locally and does not send network requests.
What does “Normalize newlines” do?
It converts Windows (CRLF) and old Mac (CR) line breaks into Unix-style (LF) so line handling is consistent.
How does “Collapse internal spaces” affect indentation?
It collapses repeated spaces/tabs after the indentation part of each line, keeping leading whitespace intact.
Will wrapping break words?
It wraps at whitespace when possible; if a chunk has no spaces before the width, it falls back to a hard wrap.
How do I add bullets or comment markers to every line?
Use the Prefix field (for example, - or // ) and click Format.
Why is my output empty after formatting?
If “Remove empty lines” is enabled and your input is only whitespace/blank lines, everything may be removed.
How do I get Windows line endings in the output?
Set “Output line endings” to CRLF (\r\n) before formatting.