Text Formatter

Content
Cleanup
Letter case
Lines
Cleanup
Order

Format and clean text online by combining case conversion, punctuation cleanup, whitespace normalization, line sorting, duplicate removal, and line numbering. Input and formatted output stay side by side for quick review.

Text cleanup and case conversion

Clean Text normalizes repeated spaces, extra line breaks, and consecutive punctuation. Choose one letter-case style for headings, sentences, identifiers, filenames, environment variables, or copied text without stacking conflicting case operations.

Clean and reorder lines

Trim lines, remove blank or duplicate rows, sort alphabetically, reverse the current order, and add aligned line numbers. Cleanup runs before ordering and numbering so the result remains predictable when several options are combined.

The formatted result updates as the input or selected options change. Files are read and processed locally in the browser.

Related tools: Case Converter · Line Sorter