en

Text to ASCII codes

Convert text to decimal character codes and back - locally in your browser, with no upload.

Running locally on your device ...

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Every character has a number: its code point. For the common English letters and digits these are the familiar ASCII values (A is 65, a is 97), for all other characters the corresponding Unicode code points. This tool shows those numbers and also converts them back into text - handy for learning, debugging or identifying a single special character.

The direction is detected automatically: if the input is only digits and spaces, it is read as codes and turned into text; otherwise the text is split into its space-separated code points. Since real code points are used, an emoji yields exactly one number and is reassembled correctly when converting back.

The whole conversion runs entirely locally in your browser in pure JavaScript - your text is not uploaded, not stored, and no foreign library is loaded from a CDN. If a code is outside the valid range, the tool says so honestly.

Specifications

Specifications
Input formatsText input
Output formatTXT
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Paste text or number codes into the text field.
  2. Click convert - the direction is detected automatically.
  3. Read the result or download it as a text file.

Limitations: It outputs decimal code points, separated by spaces. For the common characters these equal ASCII, beyond that the Unicode code points. When converting back, each number must be a valid code point (0 to 1114111), otherwise the tool reports an honest error. Other representations such as hexadecimal are not produced.

FAQ

Is my text uploaded?

No. The conversion runs entirely locally in your browser; your text never leaves your device and is not stored.

Are these ASCII or Unicode values?

Both: for the common characters they are the ASCII values, for everything else the corresponding Unicode code points. Up to 127 they are identical.

Do umlauts and emojis work?

Yes. Real code points are used, so an emoji yields a single number and is reassembled correctly when converting back.

How do I enter codes?

As decimal numbers separated by spaces - for example "72 105" for "Hi".

Related tools

Text to binary · Base converter · Unicode escape · Morse code