Text to Charcode
Convert text to Unicode character codes (decimal) and back
About Text to Charcode
Text to Charcode lets you convert text to unicode character codes (decimal) and back.
Category: Encoding.
Frequently asked questions
What is a character code?
▾
A character code is the numeric value assigned to a character in a character encoding standard. This tool uses Unicode code points — the same values defined in the Unicode Standard that JavaScript's codePointAt() method returns.
Is this ASCII or Unicode?
▾
Unicode. For the first 128 characters (standard keyboard characters), Unicode code points are identical to ASCII values, so the output matches traditional ASCII tables. Characters beyond U+007F have higher numeric values.
What format is the output in?
▾
Code points are output as decimal integers separated by spaces (e.g. 72 101 108). When converting back, you can separate values by spaces or commas.
How do I convert back from char codes to text?
▾
Paste the decimal code points into the input field and click Codes → Text. The tool uses String.fromCodePoint() internally, which correctly handles the full Unicode range including emoji.