Math & Encoding Tools

ASCII & Unicode Converter

Convert text to codes, look up any character, browse the ASCII table, and inspect Unicode code points.

Encoding Format
Direction:
Result will appear here…
Character, Code Point, or Decimal / Hex / Binary
Control
Type a character or code point above to see full details
Uppercase
Lowercase
Digit
Punctuation
Symbol
Space
No characters match your search.
Input Mode
Enter a Unicode code point (e.g. 1F600) or paste an emoji above

About This Tool

ASCII / Unicode Converter is a free browser-based tool covering four workflows in one interface: bulk text-to-code conversion, individual character inspection, an interactive ASCII reference table, and Unicode code point lookup.

The Text ↔ Codes tab converts any string to decimal, hex, binary, octal, HTML entities, or URL-encoded form — and reverses the process just as easily. The Char Lookup tab accepts a typed character, a decimal code, hex (0x41), binary (0b01000001), or U+ notation and displays all representations simultaneously. The ASCII Table is filterable by category and searchable by glyph or code. The Unicode tab lets you look up any of the 1.1 million Unicode code points by hex value or by pasting an emoji.

Everything runs entirely in your browser — no data leaves your device.

How to Use

  • Text → Codes: Select the Text ↔ Codes tab, choose a format (Decimal / Hex / Binary / Octal / HTML Entity / URL Encode), ensure direction is Text → Codes, and type your string. Copy the result with the button on the right.
  • Codes → Text: Flip the direction toggle to Codes → Text. Paste space-separated codes (or a URL-encoded string / HTML entity string) and the original text appears instantly.
  • Char Lookup: Switch to Char Lookup. Type a single character, or enter its code in any format (65, 0x41, 0b01000001, U+0041). All representations, UTF-8 bytes, UTF-16 surrogate pairs, HTML entities, and Unicode block are shown.
  • ASCII Table: Browse or search the printable ASCII range (32–126). Filter by category (Uppercase, Lowercase, Digit, etc.) and toggle the value column between Dec / Hex / Binary / Oct. Clicking any cell opens it in Char Lookup.
  • Unicode: Enter a hex code point (e.g. 1F600 or U+1F600) to look up emojis and non-ASCII characters, or paste an emoji/symbol directly to decode it.

Logic & Technical Notes

ASCII (American Standard Code for Information Interchange) defines 128 characters: 33 control characters (0–31, 127) and 95 printable characters (32–126). Each printable character has a fixed decimal code that maps to binary, octal, and hex representations.

Unicode extends this to over 1.1 million code points (U+0000 to U+10FFFF), covering virtually every writing system, symbol, and emoji in use today. This tool uses the browser's built-in String.fromCodePoint() and TextEncoder APIs to compute representations, so results are always spec-correct.

UTF-8 encoding uses 1 byte for code points 0–127 (identical to ASCII), 2 bytes for 128–2047, 3 bytes for 2048–65535, and 4 bytes for 65536–1114111. The UTF-8 bytes shown for each character use the standard multi-byte encoding scheme with leading 110xxxxx, 1110xxxx, or 11110xxx headers.

URL encoding (percent-encoding) converts non-ASCII bytes to %HH format per RFC 3986. HTML entity encoding uses decimal (&#NNN;) or hexadecimal (&#xNNN;) numeric character references, which work for any Unicode code point.

Report an Issue

Let us know what's wrong with ASCII / Unicode Converter.

Thank you — report received!