Text

Text to ASCII Codes

Convert text to ASCII or Unicode decimal code points. Choose decimal, hex or octal output and a separator. Great for coding and teaching.

Last reviewed by the Radiatus Cloud team

Convert each character to its numeric code point in decimal, hexadecimal or octal.

Need this done properly for your business?

Radiatus delivers secure cloud, DevOps & compliance engineering.

Book a free consult

Convert text to ASCII and Unicode codes

The Text to ASCII Code Converter turns each character of your text into its numeric code point. For standard English letters, digits and symbols these are the familiar ASCII codes, where a capital A is 65 and a space is 32. For characters beyond ASCII, such as accented letters and emoji, the tool reports the full Unicode code point, so every character is represented correctly.

You can output the numbers in decimal, hexadecimal or octal, separate them with spaces, commas or new lines, and optionally pad each value to three digits so the codes line up in neat columns for easy reading.

Where character codes are useful

Programmers look up code points while debugging encoding issues, building lookup tables or crafting escape sequences. Teachers demonstrate how computers represent text as numbers. Students complete computer-science exercises that map letters to ASCII values. Puzzle makers encode hidden messages as number sequences.

Because the tool reads full code points rather than raw bytes, surrogate pairs that make up emoji are handled as single characters with their true Unicode value. To reverse the process, use an ASCII codes to text decoder. All conversion happens locally in your browser.

Related tools

  • Emoji Picker & Copier — Browse, search, and copy emojis by category. Collect multiple emojis and copy them all at once. Recently used emojis saved locally.
  • Text to Speech Player — Convert text to natural speech using the Web Speech API. Adjustable voice, speed, pitch, and volume with playback controls.
  • Speech to Text Transcriber — Transcribe speech to text using your microphone. Supports multiple languages with continuous listening, copy, and download features.
  • Instagram Caption Generator — Generate Instagram caption ideas from a topic, tone, and optional CTA. Fast, template-based suggestions.

Frequently Asked Questions

What is the ASCII code for a letter?

Capital A is 65, lowercase a is 97, and a space is 32. The tool shows the standard ASCII value for every character in that range.

How are emoji and accented characters handled?

They are shown as their full Unicode code points rather than raw bytes, so each emoji or accented letter gets a single correct numeric value.

Can I get the codes in hexadecimal?

Yes. Choose the hexadecimal base to output values like 41 for A, which is handy when working with code or escape sequences.

What does padding to three digits do?

It adds leading zeros so every decimal code is three digits wide, lining the numbers up in columns for easier reading and comparison.

How do I turn codes back into text?

Use an ASCII code to text decoder. As long as the codes are the same base and valid code points, the original text is reconstructed.

Privacy & Security

Everything runs in your browser; nothing is uploaded.

Data: None
Client-side-Side
Active
v1.0

How to Use

Type text, choose the number base and separator, and copy the code list.

Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.