Text

Text Cleaner

Apply NFC or NFKC plus whitespace and line cleanup, with a one-step restore to the original input.

Text cleaner

Clean whitespace, duplicate lines, blank lines, and ordering.

  1. 1Input
  2. 2Run
  3. 3Result

Processed on this device

Order: line endings → tabs → line trim → repeated spaces → empty lines → dedupe → sort → line join → Unicode normalization. Manual edits reset the undo snapshot.

Cleaning options

Result

Your result will appear here.

Examples

  • Remove duplicate and blank lines from a pasted list
  • Normalize combining or full-width characters with NFC or NFKC, then restore the original if needed

Accuracy & limitations

  • Fonts, links, tables, and other rich-text structure are not preserved.
  • NFKC, deduplication, and whitespace changes can alter meaningful code points or formatting, so review the output.

Frequently asked questions

Can I copy the result without changing the original?

Yes. The result is separate, and after applying it to the input you can still restore the original in one step.

What is the difference between NFC and NFKC?

NFC composes canonically equivalent sequences. NFKC also folds compatibility forms such as full-width characters, so it is more invasive.