Skip to content

Text Formatter

Applies anywhere in the line, including leading indentation, which gets collapsed to a single space too. Do not use this on code.

Paste some text and the result appears here.

Normalize letter case, tidy up trailing whitespace and tabs, collapse repeated blank lines, and unify line endings. This is a different tool from "Line tools" (dedupe/sort) and "Fullwidth/halfwidth conversion" — it works on the character sequence within a line.

FAQ

I want to remove duplicate lines.

Use "Line tools" instead — operations on the set of lines (dedupe, sort, fully removing blank lines) live there.

I want to convert fullwidth/halfwidth characters.

Use "Fullwidth/halfwidth conversion" — it converts by character type (letters, katakana, symbols) separately.

Is the text sent to a server?

No. Everything happens in the browser.

Sponsored links