Convert text to character codes
Every character maps to a numeric code, and seeing those codes helps when debugging text, building escape sequences, or learning how characters are represented. This tool converts text into its character codes and turns codes back into text, so you can move between the human-readable and numeric views of a string.
How to use it
- Enter text to see each character's code, or enter codes to decode them.
- Read the converted result.
- Copy whichever side you need.
Where it helps
- Debugging a stray or invisible character in a string.
- Building escape sequences from character codes.
- Learning how text maps to numbers.
Questions people ask
What about characters beyond basic ASCII? Accented letters, symbols, and emoji have higher code points; the tool shows those too, not just the original 128 ASCII codes.
Is my text uploaded? No — conversion runs in your browser.