Home / Guides

ASCII vs Unicode: Differences Explained Simply

Published 2026-10-21

ASCII and Unicode are two ways of giving every character a number so computers can store text. ASCII is small and old: 128 characters, enough for English. Unicode is the modern standard that covers almost every writing system, plus symbols and emoji. Most text problems people run into when copying from AI tools, such as curly quotes, long dashes and odd spaces, come from the gap between the two. This guide explains the difference and how to work with it.

ASCII vs Unicode at a glance

ASCIIUnicode
Created1960sLate 1980s onward, still growing
Characters128More than 150,000, plus room for many more
CoversEnglish letters, digits, basic punctuation, control codesNearly every script, symbols, emoji
Size per character7 bits (stored in one byte)Depends on the encoding: UTF-8, UTF-16 or UTF-32
RelationshipA subset of UnicodeIts first 128 code points are exactly ASCII

What ASCII is

ASCII, the American Standard Code for Information Interchange, assigns the numbers 0 to 127 to characters. Numbers 32 to 126 are the printable ones: the space, digits, upper- and lower-case English letters and common punctuation such as ! " # ' , - . / : ; ? @. The rest are control codes, such as the line feed and the tab, which tell a device what to do rather than showing a symbol.

ASCII has no accented letters, no curly quotes, no long dashes and no symbols such as the euro sign. For decades, computers added those through "code pages", which reused the numbers 128 to 255 in different ways for different regions. That is why text could look correct on one computer and garbled on another.

What Unicode is

Unicode gives every character in every script one permanent number, called a code point, written like U+0041 for the letter A. It includes Latin, Greek, Cyrillic, Arabic, Hebrew, Chinese, Japanese, Korean, Indian scripts and many more, along with mathematical symbols, arrows, punctuation of every kind and emoji. New characters are added in regular releases.

Unicode itself is a list of characters and their numbers. To store them in a file, a program uses an encoding. The most common is UTF-8, which stores ASCII characters in one byte each and other characters in two to four bytes. Our guide to UTF-8 vs UTF-16 explains the encodings in more detail.

How they fit together

Unicode was designed so that its first 128 code points are identical to ASCII, and UTF-8 stores those 128 characters with exactly the same bytes ASCII uses. In practice that means plain English text saved as ASCII is already valid UTF-8. The reverse is not true: as soon as text contains a character outside those 128, such as é, “ or —, it is no longer ASCII.

Non-ASCII characters that sneak into English text

Text that looks like plain English often contains Unicode characters that came from a word processor, a web page or an AI chat tool.

Looks likeActuallyASCII replacement
“ ” ‘ ’Curly quotes U+201C U+201D U+2018 U+2019" '
— –Em dash U+2014, en dash U+2013- or --
…Ellipsis U+2026...
A spaceNon-breaking or thin space, such as U+00A0A normal space
Nothing at allZero-width space U+200B and other invisible charactersDelete

When you need ASCII-only text

Modern websites, email and apps handle Unicode well, so converting everything to ASCII is rarely necessary. It is usually enough to fix the punctuation and spaces listed above.

How to find non-ASCII characters

In a code editor

Search with a regular expression for [^\x00-\x7F]. Every match is a character outside ASCII.

In Python

print(text.isascii())
print([c for c in text if ord(c) > 127])

On the command line

grep -nP '[^\x00-\x7F]' file.txt

How to make text closer to ASCII

The AI Text Cleaner can straighten curly quotes, turn long dashes into hyphens, replace the ellipsis character with three periods, swap unusual spaces for normal ones and remove invisible characters, all in your browser. It does not change accented letters or other scripts, because those are real text; for that you need a transliteration tool, such as iconv with the //TRANSLIT option, which turns é into e.

Quick answers

Is ASCII part of Unicode? Yes. The first 128 Unicode code points are ASCII.

Is UTF-8 the same as Unicode? Not quite. Unicode is the list of characters; UTF-8 is one way of storing them as bytes.

Why does my text show question marks or strange symbols? Usually because it was saved in one encoding and read in another. See our guide to mojibake.

Need text that plays nicely with older systems? Straighten quotes, dashes, spaces and ellipses in one step. Open the AI Text Cleaner

Related guides