ASCII Converter
Convert characters to ASCII / Unicode codepoints in decimal, hex, binary and octal — or render a live table for any input string.
- Decimal
- Hex
- Binary
- Octal
- Unicode
- In ASCII range?
- Character
- Decimal
- Hex
- Binary
- Octal
- Unicode
- UTF-16 units
Showing the first characters.
| # | Char | Dec | Hex | Bin | Oct |
|---|---|---|---|---|---|
How to use
- 1 Pick a mode — Char → Code, Code → Char, or Live table.
- 2 In Code → Char, prefix with 0x (hex), 0b (binary) or 0o (octal) to enter any base.
- 3 Live table shows each character of a string with its code in four bases.
- 4 Click any value to copy via your browser shortcut.
Why use this tool
- Three modes — single character, single code, or a per-character table.
- Handles full Unicode — including astral-plane emoji via codepoints up to U+10FFFF.
- Code input auto-detects the base via 0b / 0o / 0x prefixes.
- Pure browser, zero dependencies.
Frequently asked questions
Is this ASCII-only?
No — the underlying engine handles any Unicode codepoint up to U+10FFFF. The "ASCII range" badge on each row tells you which characters fit in the original 7-bit ASCII set (≤ 127).
What are UTF-16 units?
JavaScript stores strings in UTF-16. Characters above U+FFFF take two 16-bit units (a surrogate pair). The UTF-16 units row shows those raw 16-bit codes.
Why is the live table capped at 200 characters?
Rendering one DOM row per character gets expensive on long pastes. 200 covers the vast majority of inspections — for bigger jobs, run the input through your editor instead.
Need raw bytes instead of codepoints?
Use our String to Hex Converter for UTF-8 byte output, or the UTF-8 Converter for codepoint and \u{HEX} escapes.
ASCII Converter is a free developer utility by Zerethon Tools. Convert characters to ASCII / Unicode codepoints in decimal, hex, binary and octal — or render a live table for any input string. Runs entirely in the browser — no signup, no upload.
- Category
- Developer
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Privacy
Your data never leaves your browser unless explicitly stated. ASCII Converter runs entirely client-side — no server upload, no logging, no tracking of your input.
Related tools
UTF-8 Converter
Convert text to UTF-8 hex bytes, decimal bytes, \xAB or \u{HEX} escape sequences — and back.
Open toolJSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.