AnyTool
Your files never leave your device. All processing happens locally in your browser.

What is the ASCII code for a character?

AnyTool shows a complete ASCII and extended (0–255) character table with decimal, hex, octal, binary, HTML entity, and escape codes for every character. Use the live converter to look up any character or code instantly, with one-click copy. It runs entirely in your browser.

  • Full 0–255 table: char, dec, hex, oct, binary, HTML entity, escapes
  • Control codes shown with abbreviation, caret notation, and name
  • Live converter — type a char or code and see all formats
  • Instant search and one-click copy per cell
  • 100% in-browser — no upload, works offline

What is

ASCII

ASCII (American Standard Code for Information Interchange) is a character-encoding standard that maps the numbers 0–127 to letters, digits, punctuation, and control codes. The 128–255 "extended" range is encoding-dependent, defined by sets such as Windows-1252 or ISO-8859-1.

Developer Tools

Related terms

Character EncodingUnicodeHexBinaryControl Characters

Frequently Asked Questions

Type the character into the converter and its decimal, hex, octal, and binary appear instantly.

Enter any character or any code value (decimal, hex, octal, or binary) and the live converter shows every other representation along with the HTML entity and escape sequences, with a visual 8-bit binary breakdown.

Yes — it covers the full 0–255 range with selectable encodings.

Unlike many tools that stop at 127, this table covers 0–255 and lets you switch between Windows-1252 and ISO-8859-1, correctly rendering the 128–159 difference between printable Windows-1252 glyphs and ISO-8859-1 control codes.

Yes — it is free, needs no signup, and works fully offline.

The dataset is static and all conversions use native browser APIs, so the tool works offline with no server and no CDN at runtime, and copying values to your clipboard never sends anything anywhere.

Detailed Explanation

Methodology

How the ASCII Table Reference Works

AnyTool ships a complete 0–255 character dataset and computes every representation with native browser APIs: decimal, hex, octal, and binary via toString and padStart; character and code point via String.fromCharCode/codePointAt; HTML numeric and named entities; and ANSI-C, JS/CSS, and URL escapes. Extended characters (128–255) are rendered with TextDecoder for the selected encoding (Windows-1252 or ISO-8859-1), correctly handling the 128–159 difference. A live converter accepts any input format and instant search filters across all columns.

  • Full 0–255 with dec/hex/oct/binary/HTML entity/escapes
  • Control codes with abbreviation, caret notation, and name
  • Windows-1252 and ISO-8859-1 extended encodings
  • Live bidirectional converter with binary breakdown
  • Instant search and one-click per-cell copy
Privacy & Security

Privacy and Offline Use

The dataset is static and all conversions use native browser APIs, so there is no server, no runtime CDN, and no network call — the tool works fully offline and copying values to the clipboard sends nothing anywhere.

ASCII Table: AnyTool vs typical tools
CapabilityAnyToolTypical tools
Full 0–255 rangeYesOften 0–127 only
Selectable encodingsYesRare
Escape formats inlineYesPartial
Live converter + searchYesSometimes
No signup / no paywallYesSometimes gated

Capabilities reflect the live AnyTool tool; competitor behavior varies by service.