What is ASCII?

ASCII (American Standard Code for Information Interchange) is the character set computers agreed on in the 1960s, and the first 128 characters of Unicode still match it. It has the English letters A to Z in capitals and small letters, the digits 0 to 9, the space, the punctuation and symbols of a US keyboard, such as ! ? @ # $ % & * ( ) / + =, and control characters such as the tab and the line break. In UTF-8, each ASCII character takes exactly one byte.

Many places accept only ASCII or work best with it: file names meant to work on every system, program code, configuration files, older databases and plenty of form fields. Text copied from a word processor or a web page often looks plain but brings along curly quotes, long dashes or no-break spaces, and the checker tells you whether anything like that crept in.

Tool description

Type or paste text into the Text box, and the result shows as you type: "The text contains only ASCII characters." or "The text contains characters outside ASCII." The checker looks at every character, including spaces and line breaks at the start or end of what you paste. Those are ASCII characters too, so they never make text fail. The page has no settings.

Characters that pass

  • Letters, digits, punctuation and spaces from a US keyboard, as in Picnic at 12:30, bring snacks!
  • Line breaks and tabs, so text over many lines passes too
  • The dollar sign $, the only currency sign in ASCII

Characters that fail

  • Accented letters, as in café, naïve or Zoë
  • Curly quotes and apostrophes: it’s fails, while it's with a straight apostrophe passes
  • Long dashes, the ellipsis … and the no-break space, which looks just like a normal space
  • Signs such as €, £, °, ½ and ©
  • Emoji, full-width letters such as Hello, and letters of other scripts, such as Greek, Cyrillic, Arabic or Chinese

Good to know

  • Characters such as é, £ and © are sometimes called extended ASCII, because old code pages gave them the numbers 128 to 255. They aren't part of ASCII itself, so they fail here.
  • The result says whether something outside ASCII is there, not where. The Invisible Character Highlighter shows hidden characters such as no-break spaces, and the Diacritic remover turns café into cafe.

Features

  • Checks text against the 128 ASCII characters
  • Catches accented letters, curly quotes, long dashes and emoji
  • Spaces, tabs and line breaks count as ASCII
  • Results as you type, with no button to press
  • Runs in your browser, so nothing you type is sent anywhere