Skip to content
UniKit

Text content eraser

Erase text character by character by category — Chinese, letters, digits, symbols, whitespace or emoji — or keep only what you need, such as digits and decimal points. It can also shrink whitespace and drop blank lines, all in your browser.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Original text

Characters are processed one by one with a live preview. Chinese, symbols and emoji are cleared by default; letters and digits stay untouched.

Character categories

Cleaned text

Updates live with your input and options; ready to copy.

Enter text to see the cleaned result

Characters removed: 0 · Characters left: 0

Breakdown: Nothing removed yet

What this tool does

  • Strip Chinese notes, symbols and emoji from text someone sent you, keeping order ids, amounts and card numbers
  • Switch to "keep only" and pull nothing but digits and decimal points out of a long text for reconciliation
  • Clean up repeated whitespace and blank lines from pasted or OCR text before moving it into a spreadsheet

Example

Input

订单 A1024:合计 1234 元 ✅

Output

A1024 1234

The example uses the defaults: Chinese, symbols and emoji are cleared and the result is trimmed.

Frequently asked questions

Is my text uploaded?

No. Filtering happens character by character in your browser, no request is sent and nothing is stored on a server.

How are the categories detected?

By Unicode ranges: Chinese covers CJK unified ideographs (including extensions A/B and the compatibility block), letters cover half- and full-width Latin, digits cover half- and full-width Arabic numerals, symbols take Unicode P (punctuation) and S (symbol) categories, and emoji follow Extended_Pictographic plus regional and skin-tone modifiers. Besides regular spaces, the ideographic space, NBSP and BOM count as whitespace. Scripts that are not covered (Cyrillic, Hangul, …) fall into "other scripts" and can only be handled through the custom set.

How do I keep digits and decimal points only?

Set the direction to "keep only the selected categories", tick digits, and put . and , (add - for minus signs) into the custom set. In keep mode custom characters are kept on top of the selection and are not counted as removed.

What is the difference between shrinking whitespace and removing blank lines?

Shrinking collapses runs of spaces and tabs inside a line into one regular space without crossing line breaks, so the paragraph structure survives. Removing blank lines deletes whole lines that only contain whitespace, so the line count really drops. Both are off by default.

Why is the removed count larger than the number of emoji I see?

Counting is per Unicode code point. Combined emoji such as 👍🏽 are made of several code points; each is counted and grouped into the emoji category, so the counter can exceed the number of visible icons.

Keywords:text eraserremove characterstxt-clear

Related tools