Text Formatter
Reformat text with 34 transforms: swap delimiters, sort and shuffle lines, clean whitespace, strip HTML, extract emails and URLs, wrap or prefix lines, and more.
Runs in your browser. No data leaves your device.
Frequently Asked Questions
How does the Text Formatter work?
The tool chains 34 independent text transforms in a fixed order: removals first (strip HTML via regex, extract URLs/emails via pattern matching), then delimiter swaps (comma-to-newline and vice versa via split-join), then whitespace cleanup (regex replacements), then line operations (sort, shuffle, reverse, prefix, number), and finally wrapping (quotes, brackets). Each transform is a pure function that takes text in and returns text out.
How do I convert a comma-separated list to one item per line?
Paste your list into the input, then click the "Commas to newlines" preset or toggle. Each comma-separated value becomes its own line instantly.
Can I apply multiple transforms at once?
Yes. Toggle as many transforms as you need and they apply in a fixed logical order: removals first, then delimiter swaps, whitespace cleanup, line operations, and finally wrapping. This prevents transforms from conflicting with each other.
Does it work with tool chaining?
Yes. Text Formatter is fully chainable. Pipe output from any other tool through it to reshape the text before passing it to the next tool in your chain.