Text formatter
Combine text transformations with a predictable order. Clean up whitespace, change case and organize lines. Your original input stays intact.
How to use
Text formatterPaste plain text or open a local UTF-8 file.
Select the transformations you need for whitespace, case or lines.
Compare the output with your original, then copy or save it.
Combining transformations
Groups run in their numbered order, so combining options stays predictable. Your original input stays intact.
Space cleanup preserves line breaks. Line cleanup removes blank or duplicate lines.
Capitalize words lowercases first: hELLO wORLD → Hello World.
Sorting uses case-sensitive Unicode order. Letter case changes run before sorting.
- Reset clears the source and restores the default formatting options.
- Clear input removes the source and keeps your options.
Display versus content
Wrap lines and Find change how you read the editor. They do not change copied or downloaded text.
Tool limits: 500,000 UTF-16 code units of input and 1,000,000 of output. Input and output stay in your browser.