Text to ASCII Codes Converter

Convert text to ASCII codes and back (Hi → 72 105) — UTF-8 or Unicode, any separator, plus Base64, URL, HTML entity and \u escape modes, with the direction detected automatically.

How to use the text to ASCII codes converter

  1. Type, paste or open your text — or paste ASCII codes to decode it.
  2. Pick the code, separator and options; the result updates instantly.
  3. Copy the result, download it, or download the character table.

About Text to ASCII Codes Converter

Convert text to ASCII codes as you type, or paste ASCII codes to turn it back into text — the direction is detected for you. Text is encoded as UTF-8, so accents, Indian scripts and emoji work.

Choose the separator, padding and prefixes, switch to Unicode code points, or use the other encodings: binary, hex, decimal, octal, Base64, URL encoding, HTML entities and \u escapes. Download the result or a per-character table with every format.

Good for

  • Programming, debugging and data exchange
  • Computer science lessons and puzzles
  • Checking how characters are stored

Tip: Paste the code straight in — spaces, commas, 0x and \x prefixes are all understood when decoding.

Frequently asked questions

What is an ASCII code?

A number from 0 to 127 for each basic character — A is 65, a is 97, space is 32 and 0 is 48. Characters beyond ASCII (é, ₹, emoji) use Unicode code points or UTF-8 bytes.

Can it convert ASCII codes back to text?

Yes — paste the numbers separated by spaces or commas and they are decoded to text automatically.

Can I get the codes in hex, binary or octal?

Yes — switch the code to Hexadecimal, Binary or Octal, or download the character table with every format for each character.

Which other encodings are included?

Binary, hexadecimal, decimal / ASCII, octal, Base64 (also URL-safe and MIME-wrapped), URL encoding, HTML entities and Unicode escapes — each in both directions.

Can I convert a file?

Yes — open or drop a text file (TXT, CSV, JSON, Markdown, Word or PDF); it is read in your browser.

Is my text uploaded?

No — the conversion runs entirely in your browser, so private text, keys and files never leave your device.

← Back to all tools