This page translates a short string into space-separated decimal Unicode code points and back. Type in the Text box and the Decimal Codes box updates, or paste decimal tokens on the right and the text rebuilds. Conversion is local. FlashKit does not upload the string, does not decode files, and does not need an account. The default sample is “Hello World”. Closing or refreshing the tab restores that sample; nothing is written to localStorage.
Each character becomes its Unicode code point printed in base 10. The page spreads the string into code points (so a single emoji stays one token), calls codePointAt(0), and prints the number with toString(10). “H” is U+0048, which is 72. “e” is 101. A space is 32. Decoding splits on spaces or commas, parses each token with parseInt(token, 10), and uses String.fromCodePoint. An invalid token (letters, a floating point, an empty fragment that is not skipped) shows a red error and leaves the last good text in place.
Worked example. Keep “Hello World”. You should see eleven tokens: 72 101 108 108 111 32 87 111 114 108 100. That is H e l l o, a space, W o r l d. Change the first token to 73 and the text becomes “Iello World” because 73 is “I”. This is code-point math, not a UTF-8 byte dump. The two-byte UTF-8 encoding of “é” is 195 169; this page instead prints the single code point 233 for U+00E9. The grinning emoji is one token, 128512, not a four-byte UTF-8 list.
Use this in a classroom, a protocol note, or a quick “what is the decimal for this letter?” check. It is not a hex editor, not a .bin viewer, and not a 7-bit stripper. The sibling Text to ASCII page uses the same base-10 algorithm and only changes the right-hand label from Decimal Codes to ASCII Codes — if a homework sheet says “ASCII codes,” either page will print 72 for H. Hex and binary siblings print the same points in another base. Base64 is a different encoding; read that guide when you have A–Z/a–z/0–9/+/, not a list of integers.
The UI matches this copy. Text is the left textarea. Decimal Codes is the right textarea. A one-line hint says codes are separated by spaces and that either field updates the other. Errors appear in a red banner above the grid. There is no file picker, no endianness control, and no “pad to three digits” option. Related tools: text-to-ASCII, text-to-hex, binary converter, and the word/byte counter. Related guide: Base64 encoding for developers.
How to convert text and decimal codes
- Type or paste text in the left box. Decimal code points appear on the right, separated by spaces.
- Or paste space-separated (or comma-separated) integers in the right box to rebuild text.
- Fix any red error — a token that is not a base-10 integer will not decode.
- Copy the side you need. Open the ASCII, hex, or binary siblings if that is the notation you actually have.
- Close the tab when you are done. Nothing is stored on FlashKit.
Key Features
- Bidirectional text ↔ decimal Unicode code points
- Space- or comma-separated tokens; live update either side
- Clear error when a token is not a valid integer
- Local only — no file upload and no UTF-8 byte mode
- Same family as the ASCII, hex, and binary converters
Character-to-decimal table (common ASCII)
- Letters: A = 65, B = 66, Z = 90, a = 97, z = 122. Digits: 0 = 48, 9 = 57. Space = 32. Newline = 10. Tab = 9.
- “Hello World” in decimal is 72 101 108 108 111 32 87 111 114 108 100 — eleven tokens, including the space.
- Punctuation: ! = 33, @ = 64, comma = 44, period = 46. “Hi!” is 72 105 33.
- Non-ASCII still works: é = 233, € = 8364, 😀 = 128512. Those are code points, not UTF-8 byte lists.
- The Text to ASCII converter prints the same numbers. Use it when a worksheet says “ASCII codes”; use this page when it says “decimal.”
Code points versus UTF-8 bytes
- This page prints each character’s code point in base 10. It does not list the UTF-8 byte sequence unless those happen to match (ASCII, 0–127).
- “A” is 65 in both views. “€” is one code point (8364) but three UTF-8 bytes (226 130 172).
- Emoji that are one code point become one token. ZWJ sequences (family emoji) are several characters and several tokens.
- There is no zero-pad to three digits. 10 (newline) stays 10, not 010.
- Need hex or binary of the same points? Use the sibling converters. Need Base64? That is a different guide.
Limits, privacy, and tips
- Do not drop a firmware .bin or a PNG in here. Use a hex editor. This page is for short strings.
- Very long pastes can freeze the tab. Split the work. Pair with the word counter if you only needed a length.
- A token like 72.0 or 0x48 is invalid decimal on this page and triggers the error banner. Use the hex converter for 48 / 0x48.
- Privacy: the string never leaves this tab. Still avoid pasting secrets on a shared screen.
- Related tools: ASCII converter (same math), hex converter, binary converter, word/byte counter. Guide: Base64 encoding.
Frequently Asked Questions
Is this UTF-8 byte decimal?
No. Each token is a Unicode code point in base 10. ASCII letters happen to match one UTF-8 byte; emoji and non-Latin letters often do not.
How is this different from the Text to ASCII converter?
It is not, mathematically. Both pages use base 10 and print the same numbers for “Hello World”. The right-hand label is Decimal Codes here and ASCII Codes there. Neither page strips characters above 127.
Can I decode a file or a PNG?
No. Use a hex editor. This page converts short Unicode strings to decimal code points and back.
What separators are allowed?
Spaces or commas (or a mix). Empty fragments are skipped. Any other character inside a token is an error.
Is my text uploaded?
No. Both boxes live in this tab. Refreshing restores “Hello World”. Nothing is written to FlashKit.
When should I use hex, binary, or Base64 instead?
Use hex or binary siblings for the same code points in another base. Use Base64 (see the guide) when you have that alphabet. Use ASCII art for banners, not numbers.