Trim leading/trailing whitespace and normalize space sequences.
Add prefix numbers or custom formatting to each line.
Convert text between upper, lower, title, camel, snake, kebab, pascal, constant, and dot cases.
Convert line endings between Windows (CRLF) and Unix (LF) format.
Collapse multiple consecutive spaces into a single space.
Formatting plain text for a terminal, a fixed-width email, or a code comment block often requires wrapping lines at a specific character width, adding consistent prefixes, or indenting a whole block, and this text formatter handles all of it in one pass. Developers preparing text for 80-column terminals, writers formatting quoted email replies with '>' prefixes, and anyone indenting a code block or list can paste text, set the desired wrap width or prefix/suffix, and get properly formatted output instantly. It removes the tedium of manually breaking lines or retyping indentation for every line. Since formatting happens entirely in your browser, your text is never uploaded to a server. Paste your text below and choose your formatting options to get started.
Fixed-width wrapping is useful for terminal output, plain-text emails, code comments, and any context where lines longer than a certain width display or print poorly.
Yes, the line prefix option lets you add any custom string, such as '> ', to the start of every line automatically.
Yes, you can apply a prefix and a suffix simultaneously, which is useful for wrapping lines in quotes, brackets, or list markers.
It wraps at the nearest word boundary before exceeding the specified column width, avoiding breaking words in the middle wherever possible.
Yes, you can specify the amount of indentation (spaces or tabs) to apply consistently across every line in the block.
No, all formatting happens client-side in your browser, and your text is never transmitted to a server.