How ascii / decimal codes encoding works
Each character is replaced by its numeric code: ASCII for English (A = 65) and the Unicode code point for other scripts (আ = 2438).
Examples
| Text | ASCII / Decimal Codes |
|---|---|
Hello | 72 101 108 108 111 |
Bangladesh | 66 97 110 103 108 97 100 101 115 104 |
2026 | 50 48 50 54 |
A&B <ok> | 65 38 66 32 60 111 107 62 |
আমি | 2438 2478 2495 |
Character-by-character breakdown
Here is how the word Dhaka ৳ is converted, character by character. The Unicode code point identifies the character, the UTF-8 bytes show how it is stored, and the last column is the ascii / decimal codes result.
| Character | Code point | UTF-8 bytes | ASCII / Decimal Codes |
|---|---|---|---|
D | U+0044 | 44 | 68 |
h | U+0068 | 68 | 104 |
a | U+0061 | 61 | 97 |
k | U+006B | 6B | 107 |
a | U+0061 | 61 | 97 |
␠ | U+0020 | 20 | 32 |
৳ | U+09F3 | E0 A7 B3 | 2547 |
Common mistakes to avoid
- Mixing up encoding and encryption — ASCII / Decimal Codes is reversible by anyone and does not protect secrets.
- Copying extra spaces or line breaks into the input, which can change the result.
- Assuming one character equals one byte — Bangla letters and emoji use several bytes in UTF-8.
- Decoding text that was encoded with a different character set (such as old ANSI/Bijoy files).
What is ASCII / Decimal Codes?
ASCII codes represent each character as a decimal number (A = 65, a = 97). For Unicode text such as Bangla, the Unicode code point is used.
Common uses
- Programming, debugging and API development
- Computer science and ICT homework
- Sharing data safely between systems
- Puzzles, games and learning how computers store text
Frequently asked questions
Does it support Bangla text?
Yes. Text is processed as UTF-8, so Bangla, Arabic, emoji and all Unicode characters work.
Is my text sent anywhere?
No, everything is processed instantly in your browser.
Can I convert large text?
Yes, you can paste long documents; conversion is instant.
Is ASCII / Decimal Codes a form of encryption?
No. It is an encoding — a reversible way of representing data. Anyone can decode it, so never use it to hide passwords or secrets.
Can I reverse the conversion?
Yes. Click the swap button to switch between encoding and decoding instantly.