Text to ASCII Converter
Convert between text and character codes in any base.
Text to ASCII Converter
Instant online text processing
What does Text to ASCII Converter do?
Convert text to character codes — decimal, hexadecimal, octal or binary — and back again. Works with the full Unicode range, so it handles far more than the original 128 ASCII characters.
How to Use Text to ASCII Converter
- 1Enter text or codesThe tool converts in whichever direction you need.
- 2Choose the baseDecimal, hex, octal or binary.
- 3Copy the resultOr read the per-character table below.
Key Features
- Decimal, hexadecimal, octal and binary output
- Full Unicode support, not just the first 128 characters
- Two-way conversion — codes back to text as well
- Per-character table showing the character, its code and its Unicode name category
- Choice of separator and optional 0x or U+ prefixes
Frequently Asked Questions
What is ASCII?
A 7-bit character encoding defining 128 characters — the English alphabet, digits, punctuation and control codes. Unicode superseded it but kept the first 128 code points identical, so ASCII is still a valid subset.
What is the ASCII code for A?
65 in decimal, 41 in hex, 101 in octal and 01000001 in binary. Lowercase "a" is 97 — exactly 32 higher, which is why case conversion is a single bit flip.
What happens with emoji and non-English characters?
They have no ASCII code, so the tool shows their Unicode code point instead. An emoji typically sits above U+1F300, far outside the ASCII range.
What is the difference between a code point and a byte?
A code point identifies a character; bytes are how it is stored. U+00E9 (é) is one code point but two bytes in UTF-8. This tool shows code points — use the binary converter for bytes.
Everything you paste stays in this page. Text tools run as JavaScript in your browser, so nothing is uploaded, logged or stored.
Related Tools
Text to Binary Converter
Convert text into its binary representation, byte by byte.
Binary to Text Converter
Decode binary back into readable text.
HTML Encoder
Escape HTML special characters to display code safely.
URL Encoder
Percent-encode text for safe use in URLs and query strings.
