TextToolbox
HomeRemove Specific Characters

Remove Specific Characters

Delete the characters you list from your text, including spaces and tabs, in five modes. Removing one character can split an emoji or an accented letter, so check the result.

Built by Saurabh Kumar

Quick Answer

Enter individual code-point targets, including spaces and tabs. First Occurrence handles supplementary characters; Case Insensitive does not remove accents. Standalone Code Points checks Unicode neighbors. This can split a grapheme or alter data.

Each entered code point is a separate target. This can split accents or emoji sequences. Up to 100 targets; input up to 1,000,000 UTF-16 units and 20,000 lines.

Mode

0 target code points removed; 0 collapsed ASCII spaces; 0 total UTF-16 units removed.

If Copy fails, select output and copy manually. There is no nonempty text to export when the result is empty.

Deleting Chosen Characters From Plain Text

The tool deletes the characters you list from your text. Each character you enter is its own target: typing abc means the three letters a, b and c, not the word abc. The unit it works with is the Unicode code point, which is usually one character on screen but not always (see the last section). Deleting characters can change spelling, identifiers and structured data, so keep a copy of the original.

It can strip known punctuation from a throwaway label, remove only the first copy of a repeated character, or delete literal spaces and tabs when you want the text joined together.

Code Points Are Not Visible Characters

  • One emoji or accented letter on screen can be made of several code points.
  • If you pick only one part of it, joiners or combining marks can be left behind.
  • The tool shows three counts: targets removed, ordinary spaces collapsed, and total length. None of them is a count of what you see on screen.
  • Removing a comma, a quote or a line break can break CSV files, code or records.
  • Deleting a tab joins the two fields. It does not leave a space.

Read the target chips by their code-point labels to see exactly what you are removing. Unicode text segmentation explains why a code point and a visible character are different units.

Adding Targets and Choosing a Mode

  1. Paste your text and keep a copy of the source.
  2. Type the characters to remove and press Add or Enter. The Space, Tab and Line Feed buttons add exactly those characters.
  3. Choose a mode. The output and the removal counts update on their own.
  4. Copy the output or download it as TXT.

How Each Removal Mode Works

Exact Match removes every copy of each target. Case Insensitive does the same but treats upper and lower case as equal. It does not strip accents or fix spelling. First Occurrence removes only the first copy of each target, including characters outside the basic range such as many emoji. Standalone Code Points removes a target only when the characters on both sides are not letters, numbers, combining marks or underscores. This is a simple rule and does not know where words begin or end in any language.

Normalize ASCII Spaces first removes the exact targets and then squeezes runs of ordinary spaces into one. It does not trim the ends of the text or change tabs. Collapse works only when you have saved at least one target. Line endings (CRLF, LF or CR) stay as they are unless you select one of them as a target. A target can be a space or tab, and you can save up to 100 targets. Input can be up to 1,000,000 UTF-16 units and 20,000 lines.

Matching Is Not Accent Removal

Input a A á a with target a
ModeOutputTarget code points removed
Exact
 A á 
2
Case Insensitive
  á 
3
First Occurrence
 A á a
1