Text to Decimal Encode & Decode
Convert text to decimal byte codes and back. This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
Hello
Example Output
72 101 108 108 111
How to Use
- 1Choose Encode or Decode mode at the top.
- 2Type or paste your text into the Input field.
- 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
- 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.
About Text to Decimal
The Decimal tool converts text to the decimal (base 10) value of each byte — essentially the character codes — space-separated, and back.
How it works: text is encoded to UTF-8 bytes, then each byte is shown as a number 0–255. Decode reads each number back into a byte and reassembles UTF-8 text.
Decimal representation is human-friendly and useful for viewing byte/character-code values, debugging, or converting between numeric notations.
FAQ
Can this Text to Decimal tool both encode and decode?
Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.
Is my data sent to a server?
No. Text to Decimal is processed entirely in your browser. The text you enter never leaves your device.