ASCII Table & Text Converter
A complete, searchable ASCII chart (0–127) with decimal, hex, octal and binary for every code — plus a two-way converter that turns text into ASCII codes and codes back into text. Control names from RFC 20. Runs in your browser, no signup.
How it works
The table is a fixed lookup, not a guess. The 128 code assignments, control-character abbreviations and control names are transcribed directly from RFC 20 — “ASCII format for Network Interchange”, the IETF document that made US-ASCII an Internet Standard (STD 80), and cross-checked against the Unicode Consortium's “C0 Controls and Basic Latin” code chart, which confirms ASCII maps one-to-one onto the first 128 Unicode code points (U+0000–U+007F).
Every derived column is a pure base conversion of the decimal code point n, where 0 ≤ n ≤ 127:
- Hexadecimal: n in base 16, upper-cased and 2-padded — 65 → 41.
- Octal: n in base 8 — 65 → 101.
- Binary: n in base 2, zero-padded to 8 bits — 65 → 01000001.
Text → codes:the tool reads your text one Unicode code point at a time (so multi-byte characters and emoji are handled cleanly). If a character's code point is 127 or below it is standard ASCII and is shown in your chosen base; anything above 127 is reported as a U+XXXX Unicode code point and left out of the ASCII code list, because ASCII simply has no code for it.
Codes → text: each token you paste is parsed by its prefix — 0x for hexadecimal, 0b for binary, 0o for octal, otherwise decimal. A whole number in range (0–127, or 0–255 when the extended panel is on) is mapped back to its character; anything non-numeric, fractional or out of range is flagged individually rather than silently dropped.
As a credibility check the page runs a small self-test on load: it re-derives every binary value with an independent bit-mask routine (never toString(2)) and round-trips all 128 codes through the browser's character encoder. The “Self-verified” badge only appears when all of those checks pass. The optional 128–255 panel uses the ISO-8859-1 (Latin-1) mapping, where the code point equals the byte value, and is captioned that “extended ASCII” is code-page dependent — not part of the 7-bit standard.
Worked examples
Frequently asked questions
Sources & references
- RFC 20 — ASCII format for Network Interchange (IETF, STD 80)
- The Unicode Standard — C0 Controls and Basic Latin (U+0000–U+007F)
- WHATWG HTML — Named character references (HTML entity column)
- ISO/IEC 8859-1 (Latin-1) — reference for the optional 128–255 panel
The 128 code assignments and control names on this page were last cross-checked against RFC 20 and the Unicode U+0000 chart on 2026-07-10. ASCII is a frozen standard, so these values do not change year to year.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a bug, edge case, or want to suggest an improvement?
Email me at [email protected] — most fixes ship within 24 hours.