How to use
- Enter text, or decimal values separated by spaces.
- Click the conversion direction you want.
- Copy the result to use it.
🎯 Use Cases
- Teach or learn about character codes
- Simple encoding experiments
- Store text as an array of numbers
Example
Input
Hi 🎉
Output
72 105 32 127881
This is the result of clicking "Text → Decimal". H=72, i=105, space=32, and the emoji 🎉 is handled as a single code point (its surrogate pair combined) to become 127881.
FAQ
- What is the number based on?
- It shows each character's Unicode code point (codePointAt) value in decimal.
- Can emoji be converted too?
- Yes. Surrogate pairs are handled correctly and converted into a single code point.
- What happens if I enter an invalid number during decode?
- An error message tells you the code point value isn't valid.
More Text Tools
📝
Markdown Preview
Live-preview Markdown as HTML
🔗
URL Encoder/Decoder
Percent-encode/decode URL characters
✏️
Find & Replace
Search & replace with regex support
🆚
Text Diff
Compare two texts line by line
↕️
List Sorter
Sort a list & remove duplicates
📧
Email Extractor
Extract & dedupe emails from text
🔢
Character Counter
Count characters, bytes, lines & words
🔠
Case Converter
Convert to UPPER/lower/Title Case
🔤
Fullwidth/Halfwidth Converter
Convert fullwidth chars ↔ halfwidth ASCII
🈚
Unicode Inspector
Check code points & look up characters
🧾
Text to Hex
Convert text ↔ UTF-8 byte hex
0️⃣
Text to Binary
Convert text ↔ UTF-8 byte binary
🔡
ASCII Art Generator
Turn text into an ASCII art banner