Text and encoding tools
Turn text into ASCII codes, Unicode code points, Base64 or Morse code, and decode any of them back to words.
Runs in your browser. Nothing you type is uploaded.
ASCII, Unicode and letter codes
For text that needs to become numbers, or numbers that should read as text.
Base64
For data that has been packed into letters and digits.
Morse code
For dots and dashes, typed or heard.
Which encoding is this?
Paste the wrong format into a decoder and you get garbage. These clues tell them apart.
| It looks like | Example | It is probably | Tool to use |
|---|---|---|---|
| Numbers between 32 and 126 | 72 101 108 108 111 | ASCII codes, here "Hello" | ASCII to text |
| Numbers between 1 and 26 | 8 5 12 12 15 | Alphabet positions, here "HELLO" | Numbers to letters |
| Letters and digits, often ending in = | SGVsbG8= | Base64, here "Hello" | Base64 decode |
| Starts with data:image/ | data:image/png;base64,iVBORw0KGgo… | A picture packed into text | Base64 to image |
| Starts with JVBERi0 | JVBERi0xLjQ… | A PDF in Base64, since %PDF-1.4 encodes to JVBERi0xLjQ | Base64 to PDF |
| U+ and four or more hex digits | U+00E9 | A Unicode code point, here é | Unicode code point converter |
| Dots, dashes and spaces | .... . .-.. .-.. --- | Morse code, here "HELLO" | Morse code translator |
Encoding is not encryption
Most of these tools answer one question in different ways: which number stands for this character? ASCII gives 128 basic characters a number from 0 to 127. Unicode extends that idea to every script, and UTF-8 stores each code point as one to four bytes, so plain English text is the same in both.
Base64 does a different job. It carries any bytes, images and PDFs included, as letters and digits so they survive email and JSON. The result is about a third bigger than the original, and anyone can decode it, so it hides nothing.
Frequently asked questions
What does ASCII stand for?
American Standard Code for Information Interchange. It was first published in 1963 and gives 128 characters a number from 0 to 127: the English letters, digits, punctuation and control codes such as line feed (10).
What is the difference between Unicode and UTF-8?
Unicode is the list: it gives every character a number, called a code point, such as U+00E9 for é. UTF-8 is one way of storing those numbers as bytes. It uses one byte for the first 128 code points and up to four bytes for the rest, so é takes two bytes, C3 A9, while A takes one, 41.
What is SOS in Morse code?
Three dots, three dashes, three dots: ... --- .... It is sent as one unbroken signal rather than three separate letters, which is why it is easy to recognize by ear.