Text to ASCII

Converts each character into its numeric value (code point) and outputs a list.

{{ t("textToAsciiHint") }}

Overview

In 1963, an American standards committee published ASCII — the American Standard Code for Information Interchange — ending years of chaos where each hardware manufacturer used its own character encoding. IBM had EBCDIC, Baudot teletypes operated with just 5 bits and 32 slots, DEC terminals had proprietary tables. Exchanging data between machines from different brands was a manual translation nightmare. The 7-bit ASCII standard settled things with 128 positions: 33 control characters inherited from the teletype — including BEL (7) which rang a physical bell, BS (8) to erase the last character, and DEL (127) which punched every hole in the paper tape to delete a slot — and 95 printable characters. The decision to include lowercase letters was debated for years inside the committee; some proposals left them out to save bits.

Unicode emerged in the 1990s as a natural extension of ASCII: all 128 original code points were preserved at their exact positions, so `A` is still 65 and space is still 32. What changed was the ceiling: Unicode defines 1,114,112 positions (U+0000 through U+10FFFF), covering every writing system in the world, emoji, mathematical symbols, and even ancient Sumerian cuneiform. When this tool displays the numeric value of a character, it shows exactly the Unicode code point — which for any ASCII character is identical to its 1963 value. For characters above U+007F it is important to understand that the code point is not the same as the UTF-8 bytes: the letter `ã` has code point 227 (0xE3), but in UTF-8 it occupies 2 bytes: C3 A3.

In practice, seeing the code points of a string is more useful than it first appears. Every developer who has spent hours debugging a mysterious encoding bug knows invisible characters well: the zero-width space (U+200B) that makes a string look identical but behave differently in comparisons, the soft hyphen (U+00AD) that is invisible but occupies a position, the byte order mark (U+FEFF) that Windows Notepad silently inserts into UTF-8 files. Seeing the code points of a suspect string resolves that kind of mystery in seconds. It is also indispensable for preparing test cases at encoding boundary values, generating fixture data, and for CTF competitions — where clues almost always arrive disguised as innocent-looking number sequences.

Technical deep dive

Common questions summarized

  • What is this tool for?: It runs fully in your browser: useful to validate, format, or convert data in everyday development.
  • Are my inputs sent to a server?: Processing happens locally with JavaScript. We do not store what you paste into the text areas.
  • Can I use this for real production data?: Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.

Sample payload to try

  • See also the larger "Code Snippets" sample; paste this excerpt to try locally: Example — Hi -> 72 105

Tool guide

  • What converting to codes means Turning each character into a number (code point) so you can inspect and reuse it in calculations or integrations.

  • What the tool does Converts the text into a list of decimal codes, joined using the chosen separator.

  • Why use it Debug encoding, generate test data from text, and inspect characters that sometimes look the same visually.

Code Snippets

Code example
Hi -> 72 105

Example

Hi -> 72 105

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.