🔢 Text to Decimal
Convert text to decimal ASCII codes and back. Each character becomes its decimal number — all in your browser, no upload, instant results.
About the Text to Decimal Converter
This text to decimal converter runs entirely in your browser. Type or paste text into the input box and click To Decimal to see each character as its decimal ASCII/Unicode code. Paste decimal numbers (separated by spaces) and click From Decimal to decode them back to text. Nothing is uploaded to a server — the conversion happens instantly with JavaScript on your device.
How it works
- To Decimal — Each character is converted to its ASCII/Unicode code point as a decimal number. For example,
Abecomes65, and0becomes48. - From Decimal — Each space-separated decimal number is parsed and converted back to its corresponding character. For example,
72 105becomesHi.
How to use the converter
- Paste or type your text (or decimal numbers separated by spaces) in the input box.
- Click To Decimal to encode text, or From Decimal to decode numbers.
- The result appears in the output box.
- Click Copy to copy the result, or Clear to start over.
Frequently asked questions
Does this tool upload my text? No. All conversion happens locally in your browser. Your text never leaves your device.
What is the difference between ASCII and decimal codes? ASCII defines a mapping between characters and numbers; this tool outputs those numbers in decimal (base-10) form, which is the most human-readable representation.
What format should decimal input be in? Decimal numbers should be separated by spaces. Each number is read as a base-10 integer.
Is there a length limit? The only limit is your browser's available memory. Even very long texts convert instantly.