Free & private
Bytes

Text to ASCII codes, and back

Turn each character into its numeric code, or rebuild text from a list of codes. Plain English maps to ASCII; other characters use their UTF-8 byte values.

Reversible100% FreeNo upload
ASCII Codes
Bytes · reversible · UTF-8
try
Input0 chars · 0 bytes
Output0 chars · 0 bytes
UTF-8 · ready⌘⏎ copy⌘⇧S swap● local

What ASCII codes are

ASCII assigns every basic character a number from 0 to 127: capital A is 65, a space is 32, the digit 0 is 48. This tool writes each character as its decimal code, so a word becomes a list of numbers. Characters outside the ASCII range — accented letters, other scripts, emoji — are shown as their UTF-8 byte values, so the conversion stays lossless.

How to use this tool

  1. Type text and Encode to see the codes.
  2. Paste a list of numbers and Decode to rebuild the text; separators between numbers are detected automatically.
  3. Choose how the numbers are separated — space, comma or none.

Codes, control characters and bytes

Numbers below 32 are control characters — tab is 9, newline is 10 — which is why they rarely print but still carry meaning. Seeing a string as codes makes those invisible characters visible, which is handy when a file has a stray carriage return or a non-breaking space you cannot otherwise spot.

Examples

InputHi
Output72 105

Frequently asked questions

How do I convert text to ASCII numbers?
Type the text and keep the mode on Encode. Each character is shown as its decimal code, separated however you choose.
What happens to emoji or accented letters?
They are outside ASCII, so they are shown as their UTF-8 byte values. Decoding reverses this, so the characters come back intact.
Can I decode a list of numbers back to text?
Yes. Paste the numbers and switch to Decode; spaces, commas or other separators between them are handled automatically.
Does this run locally?
Yes, entirely in your browser.

Related tools

Every tool on encoder.website converts your text and hands the result straight back — it is never stored. Pick another tool from the sidebar any time.