نحوه حذف کاراکترهای خاص
حذف کاراکترهای خاص، علائم نگارشی و نمادها را با هم پاک می کند و حروف، اعداد و فاصله ها را حفظ می کند. اگر فقط یکی از آنها را میخواهید، به جای آن از کلیدهای Remove punctuation و Remove symbols استفاده کنید.
نویسه های غیر الفبایی را حذف کنید
حذف غیرالفبایی فقط حروف و اعداد را از هر زبانی نگه میدارد. Keep spaces را خاموش کنید تا همه چیز را در یک رشته ناگسستنی جمع کنید، که برای شناسهها و کدها مفید است.
حذف اعداد از متن
حذف اعداد، ارقام را در هر اسکریپت، از جمله اعداد عربی-هندی و Devanagari، نه فقط 0 تا 9، نشان می دهد.
حذف حروف از متن
حروف را حذف کنید، حروف را از هر اسکریپت حذف کنید، اعداد، علائم نگارشی و فاصله را ترک کنید. برای بیرون آوردن اعداد تمیز از یک خمیر کثیف، آن را با Remove Punctuation جفت کنید.
ایموجی ها را از متن حذف کنید
حذف ایموجی ها هر ایموجی را به عنوان یک واحد کامل حذف می کند. یک شکلک خانوادگی، یک پرچم کشور یا یک دست تکان دهنده با رنگ پوست یک خوشه است، بنابراین هیچ چیز نامرئی برای شکستن متن شما بعداً باقی نمی ماند.
حذف نمادها از متن
حذف نمادها نویسههای ریاضی، ارز و نشانههایی مانند مثبت، مساوی، دلار و یورو را هدف قرار میدهد. علائم نگارشی مانند کاما و نقطه نقطه باقی می مانند مگر اینکه علائم نگارشی را نیز حذف کنید.
لهجه ها را از متن حذف کنید
حذف لهجهها، کافه را به کافه تبدیل میکند و کشور یونان را به Ellada تبدیل میکند. عمداً Devanagari، عربی، عبری، تایلندی و Cyrillic را نادیده میگیرد، زیرا در آن خطها علامتها بخشی از حرف هستند تا تزئین.
نقل قول های هوشمند را تبدیل کنید
نقلقولهای هوشمند به صورت مستقیم جایگزین نقلقولهای فرفری و آپستروفهای ساده میشوند، که همان چیزی است که کد، فایلهای CSV و سیستمهای قدیمیتر انتظار دارند. نقل قول های مستقیم به هوشمند برای انتشار برعکس است. خط تیره و بیضی به ASCII نیز خط تیره، خط تیره em و بیضی تک کاراکتری را صاف می کند.
کاراکترهای نامرئی را حذف کنید
حالت ایمن فضاهای با عرض صفر و علامتهای ترتیب بایت را حذف میکند. حالت تهاجمی همچنین اتصال دهندهها را حذف میکند، که برخی از متنهای عربی و هندی به آن نیاز دارند، بنابراین فقط زمانی به سراغ آن بروید که میدانید متن شما نیازی به آن ندارد. حذف علائم جهت، نادیده گرفتن دو جهته و خط تیره های نرم را پاک می کند.
متن Unicode را عادی کنید
NFC حروف و علامتها را به نویسههای تک مینویسد و امنترین انتخاب برای ذخیرهسازی و جستجو است. NFD آنها را از هم جدا می کند. NFKC و NFKD جلوتر رفته و شبیهها را تا میکنند، بنابراین فونتهای فانتزی، لیگاتورها و اعداد دایرهدار تبدیل به متن ساده میشوند.
کاراکترهای کنترل را حذف کنید
حذف کاراکترهای کنترلی، بایتهای تهی و سایر کدهای کنترل نامرئی را که پایگاههای داده و صادرات را خراب میکنند، پاک میکند. Keep Tabs and line breaks به طور پیشفرض روشن است تا طرحبندی شما زنده بماند.
ابزارهای مرتبط
پاککننده فاصله ·
ابزارهای خط ·
تبدیل حروف ·
پاککننده لینک
Character Cleaner pipeline
1 · Paste text with odd characters
2 · Unicode normalize (NFC / NFKD)
3 · Remove invisible & control chars
4 · Strip emoji, symbols, punctuation classes
5 · Custom keep / remove characters
6 · Copy cleaned output
Why character-level cleaning matters
Some text problems are not about how many spaces you have — they are about which characters survived the copy. Microsoft Word inserts curly quotes that break JSON. Design tools export em dashes and ellipsis characters plain-text editors mishandle. Emoji render as boxes in legacy systems. OCR output scatters section signs and soft hyphens through otherwise readable sentences. Zero-width joiners from RTL paste break search indexes silently.
The WriteWithin Text Character Cleaner targets character classes, Unicode normalization, and custom keep/remove rules — all in your browser, with no upload. Use it when the Whitespace Cleaner has already fixed spacing but symbols, emoji, or invisible control codes still cause trouble.
What this tool removes and keeps
Special, non-alphanumeric, numbers, and letters
Remove special characters clears punctuation and symbols together while keeping letters, numbers, and spaces. For finer control, toggle Remove punctuation and Remove symbols separately — commas and full stops are punctuation; plus, equals, and currency signs are symbols.
Remove non-alphanumeric (keep letters and numbers only) strips everything else from any script. Turn off Keep spaces to collapse the result into one unbroken string — handy for IDs, slugs, and matching keys. Remove numbers drops digits in every numeral system, not just 0–9. Remove letters strips letters from every script, leaving digits and punctuation if those options stay off.
Emoji clusters and symbols
Remove emojis deletes each emoji as a complete unit. Family emoji, country flags, and skin-tone modifiers include zero-width joiners internally; the cleaner removes the whole cluster so no invisible leftovers break your text later. Remove symbols targets math, currency, and sign characters such as plus, equals, dollar, and euro while leaving punctuation unless you remove that too.
Accents and script-aware behavior
Remove accents turns café into cafe and Ελλάδα into Ελλαδα using decomposition that understands which scripts treat marks as decoration. It deliberately skips Devanagari, Arabic, Hebrew, Thai, and Cyrillic, where marks are part of the letter — blind stripping would corrupt meaning. This script-aware approach is something generic “remove diacritics” tools often get wrong.
Smart quotes, dashes, and typographic punctuation
Smart quotes to straight replaces curly quotes and apostrophes with plain ASCII — what code, CSV, and older databases expect. Straight quotes to smart does the reverse for publishing. Straighten dashes converts en dashes, em dashes, and the single-character ellipsis to ASCII hyphen and three dots.
Invisible and control characters
Safe invisible mode removes zero-width spaces and byte-order marks. Aggressive mode also strips joiners Arabic and Indic text may need — use only when you know your content is unaffected. Remove direction marks clears bidirectional overrides and related controls that scramble mixed RTL/LTR paste. Remove control characters drops null bytes and other invisible codes that break databases; Keep tabs and line breaks stays on by default so layout survives.
Unicode normalization: NFC, NFD, NFKC, NFKD
NFC composes letters and combining marks into single characters — the safest default for storage and search. NFD splits them apart. NFKC and NFKD go further, folding compatibility characters so fancy fonts, ligatures, and circled numbers become plain text. Choose NFKC when importing user-generated content into strict ASCII systems; choose NFC for general multilingual storage on WriteWithin.
Custom keep and remove characters
Keep characters lists symbols that must survive a aggressive cleanup — hyphens, underscores, dots for filenames. Remove characters lists exact code points or literals to strip regardless of other toggles. Pair Keep alnum only with Keep characters -_. for filename-safe output without guessing which symbol class each mark belongs to.
Presets for common jobs
- Plain text — NFC, safe invisible removal, straight quotes, straight dashes, control cleanup, tidy spaces
- Filename safe — accents off, emoji off, alnum plus -_. only, ASCII-only
- Name list — emoji and symbols off, numbers off, tidy spaces
- Numbers only — strip letters, emoji, symbols, punctuation
- Letters only — strip numbers, emoji, symbols
- ASCII safe — NFKC, accents off, emoji off, straight quotes, ASCII-only
Character Cleaner vs Whitespace Cleaner
The Whitespace Cleaner collapses repeated spaces, replaces NBSP, converts tabs, fixes PDF line breaks, and optionally removes blank lines. It does not remove emoji, punctuation classes, or smart quotes. When Word paste shows “correct” spacing but still fails a JSON parser, the problem is usually curly quotes or em dashes — character-level, not space-level.
Character Cleaner includes Tidy spaces for light collapse after stripping symbols, but for heavy spacing work — PDF joins, NBSP normalization, show-invisible preview — use Whitespace Cleaner first. Typical chain: Whitespace Cleaner → Character Cleaner → Line Tools for list dedupe.
Case Converter reshapes letter casing after characters are stable. URL Cleaner handles link parameters. Line Counter measures without modifying.
Step-by-step: prepare text for code or CSV
- Paste your document export into the Character Cleaner.
- Apply the Plain text or ASCII safe preset.
- Confirm smart quotes to straight and straighten dashes are on.
- Enable safe invisible removal and remove control characters.
- Copy output and paste into your IDE, JSON file, or CSV importer.
Step-by-step: build filename-safe strings
- Apply the Filename safe preset (NFKC, accents removed, emoji off, alnum only).
- Add Keep characters -_. if underscores or dots must remain.
- Turn on ASCII only when the destination filesystem requires it.
- Enable Tidy spaces to collapse gaps left after symbol removal.
- Copy and rename files or create slug fields in your CMS.
Common mistakes to avoid
- Removing accents on Arabic or Hindi text — the tool skips meaningful scripts, but aggressive invisible mode can still harm joiners; prefer safe invisible on multilingual paste.
- Using Remove special when you only mean emoji — toggle Remove emojis alone to keep punctuation.
- Expecting PDF line repair here — hard line breaks are a Whitespace Cleaner job.
- NFKC on display text you want to look pretty — NFKC folds stylistic variants; use NFC for human-facing copy.
- Forgetting Keep tabs and line breaks — turning it off flattens structured logs; disable only when you truly need one line.
Benefits of script-aware character cleaning
- Emoji removed as whole clusters — no invisible joiner leftovers
- Accent stripping respects scripts where marks carry meaning
- Separate switches for symbols, punctuation, numbers, and letters
- All four Unicode normalization forms with plain-language presets
- Private in-browser processing for sensitive drafts and client data
Real-world use cases
JSON and API payloads: straight quotes, no control characters, NFC normalization. E-commerce SKU cleanup: letters and numbers only, symbols off. Social post prep for SMS: emoji off, accents optional. OCR and PDF paste: combine with Whitespace Cleaner, then strip section signs and odd symbols here. Filename batches: ASCII safe preset with custom keep characters for dots and hyphens in version numbers.
Common questions
Will removing accents break Hindi, Arabic, or Thai? No. Accent removal targets Latin and Greek decoration marks. Devanagari, Arabic, Hebrew, Thai, and Cyrillic marks are left intact.
What is the difference between symbols and special characters? Symbols are math, currency, and signs like + = $ €. Punctuation is , . ! ? and quotes. Remove special clears both; you can also toggle each class.
Does emoji removal leave broken leftovers? No. Clusters including skin tones, flags, and families remove as one unit.
Which Unicode form should I use? NFC for general storage; NFKC when folding lookalikes and compatibility characters for strict systems.
Is my text uploaded? No. Character cleaning runs entirely in your browser.