Skip to main content
Z

ASCII Converter — Characters to Decimal, Hex, Binary & Octal

Convert characters to ASCII / Unicode codepoints in decimal, hex, binary and octal — or render a live table for any input string.

Free No signup Client-side Privacy friendly Updated
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. 1 Pick a mode — Char → Code, Code → Char, or Live table.
  2. 2 In Code → Char, prefix with 0x (hex), 0b (binary) or 0o (octal) to enter any base.
  3. 3 Live table shows each character of a string with its code in four bases.
  4. 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.

What is ASCII Converter?

An ASCII Converter is a tool that converts characters to their ASCII or Unicode code points in decimal, hexadecimal, binary, and octal, and converts code points back to characters. It can also render a live table mapping each character of an input string to its code-point values. The conversion runs entirely in the browser.

Features

Char ↔ code point

Convert characters to decimal/hex/binary/octal code points and reverse it.

Live per-char table

Break a whole string into a table of each character and its code-point values.

100% private

Runs client-side — your input never leaves the browser.

Example

Input

ABC

Output

A = 65 (0x41)
B = 66 (0x42)
C = 67 (0x43)

Common use cases

  1. 1

    Look up a character code

    Find the decimal or hex code point for a character (e.g. newline, tab, ©).

  2. 2

    Debug control characters

    Reveal invisible characters (CR, LF, non-breaking space) hiding in a string.

  3. 3

    Learn ASCII vs Unicode

    See where 7-bit ASCII ends (127) and Unicode code points continue.

Summary

Zerethon's ASCII converter maps characters to their ASCII/Unicode code points in decimal, hex, binary, and octal — and back — in your browser. It can render a live per-character table for any string. ASCII covers code points 0–127 (RFC 20); beyond that it reports Unicode code points. Nothing is uploaded.

Category
Developer
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

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.

Compare

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free