Shiklo Tools
PDF40
Image20
Calculators & Converters25
Text & Writing13
Developer26
Video14
Audio14
Document14
Data & Spreadsheet12
Web & SEO9
OCR & Scanning5
Archive & File12
Security & Privacy23
Health & Medical29
QR & Barcode5

Text to ASCII

Make text ASCII-safe — remove accents, replace smart quotes, dashes and symbols — or show the ASCII and Unicode codes of each character.

Plain ASCII — the 128 basic Latin letters, digits, punctuation marks and control characters — is still the only text some systems handle reliably. File names, URLs, usernames, old databases, payment and banking forms, label printers, SMS gateways and many programming contexts can choke on accented letters, curly quotes or symbols. This tool turns any text into an ASCII-safe version: Crème brûlée becomes Creme brulee, Straße becomes Strasse, curly quotes become straight ones, long dashes become hyphens, and the euro sign becomes EUR.

It can also go the other way and show what text is made of: the decimal, hexadecimal and binary code of each character, and its Unicode code point, as a list or a table. That is handy for debugging encoding problems, finding invisible characters, and learning how text is stored. Everything happens in your browser.

How to use Text to ASCII

  1. Paste or type your text, or press Sample.
  2. Choose ASCII-safe text, or decimal, hex, binary codes or the code table.
  3. For ASCII-safe text, choose what happens to characters with no ASCII form.
  4. Copy or download the result.

Features

  • Removes accents and other diacritics.
  • Spells out letters such as ß, æ, œ, ø, ł and þ.
  • Replaces smart quotes, dashes, ellipses and special spaces.
  • Writes symbols in letters: € as EUR, © as (c), ™ as (TM).
  • Removes invisible zero-width characters.
  • Shows decimal, hex, binary and Unicode codes.
  • Runs in your browser; nothing is uploaded.

ASCII in brief

ASCII was defined in the 1960s and assigns numbers 0 to 127 to unaccented Latin letters, digits, punctuation and control codes. Unicode later extended this to every writing system while keeping the same first 128 codes, which is why ASCII text is valid everywhere.

How text is converted

Accented letters are split by Unicode normalisation into a base letter and an accent mark, and the mark is dropped, so é, è, ê and ë all become e. Letters that are not built from a base letter and an accent are replaced with their usual spelling, and typographic punctuation is replaced with its plain equivalent.

OriginalASCII
é à ü ñ çe a u n c
ß æ œ ø łss ae oe o l
“curly” ‘quotes’"curly" 'quotes'
– — …- - ...
€ £ © ™ ½EUR GBP (c) (TM) 1/2
non-breaking and thin spacesnormal space

Characters with no ASCII form

Text in scripts such as Chinese, Japanese, Arabic, Cyrillic or Greek, and most emoji, cannot be expressed in ASCII without a full transliteration system for each language. By default these characters are left out, and the tool tells you how many there were; choose Replace with ? to keep a placeholder in their place instead, so you can see where something was removed. For Cyrillic or Greek names, a language-specific romanisation standard gives better results than automatic conversion.

Character codes

Computers store each character as a number. In ASCII, A is 65 (41 in hexadecimal, 01000001 in binary) and a space is 32. Characters beyond ASCII have larger numbers called Unicode code points, written like U+00E9 for é. The code views show these numbers for every character in your text, separated by spaces, and the code table lists each character with all its codes. This is the quickest way to spot a non-breaking space that breaks a script, a zero-width character hidden in a password, or a look-alike letter in a domain name.

Good uses

Prepare file names and URL slugs that work everywhere — the Slug Generator does this for URLs specifically. Clean names and addresses before importing them into systems that only accept ASCII. Replace smart quotes in code snippets copied from word processors, where curly quotes cause syntax errors. Make text safe for SMS, where a single non-GSM character can halve the number of characters per message. All conversion happens on your device, so personal data stays private.

Frequently asked questions

How do I remove accents from text?

Paste the text; the ASCII-safe version has accents removed, for example é becomes e.

What happens to characters like ß or ø?

They are spelled out: ß becomes ss, ø becomes o.

What is the ASCII code of a letter?

Choose Decimal codes or Code table; for example A is 65.

What happens to emoji and Chinese characters?

They have no ASCII form, so they are left out or replaced with ?, as you choose.

Does it fix smart quotes?

Yes. Curly quotes become straight quotes and long dashes become hyphens.

Is my text uploaded?

No. Everything happens in your browser.

Related tools