Text Converter

One text, five encodings: binary, hex, ASCII, Base64 and Morse code.

BinaryOpen
01001000 01100101 01101100 01101100 01101111
HexOpen
48 65 6c 6c 6f
ASCII codesOpen
72 101 108 108 111
Base64Open
SGVsbG8=
MorseOpen
.... . .-.. .-.. ---

Which converter do you need?

How are binary, hex, ASCII and Base64 related?

They all describe the same thing: the bytes a computer stores for your text. Each character is first turned into one or more bytes with UTF-8 (plain English letters are one byte each). The converters then just write those bytes in a different form.

Format"Hi" written asUsed for
Binary01001000 01101001Teaching, puzzles, low-level debugging
Hexadecimal48 69Hex dumps, colors, escape sequences
ASCII / decimal codes72 105Character codes in programming
Base64SGk=Email attachments, data URIs, tokens
Morse code.... ..Radio, signaling, puzzles

Is the conversion done on your server?

No. Every converter on these pages runs as JavaScript in your browser. Nothing you type is sent anywhere, so you can paste private text safely.

Why does an emoji or accented letter become several bytes?

UTF-8 uses 1 byte for ASCII characters, 2 bytes for most accented Latin, Greek and Cyrillic letters, 3 bytes for most other scripts such as Korean or Chinese, and 4 bytes for emoji. "é" is C3 A9 in hex, and "😀" is F0 9F 98 80.

Sources: RFC 3629 (UTF-8) · RFC 4648 (Base64) · ITU-R M.1677-1 (Morse). Checked October 2026.

Frequently asked questions

What is the easiest way to convert text to binary?

Type the text in the box at the top. The binary line updates as you type; press Copy to take it. For binary back to text, open the binary translator and switch the direction.

Do these converters support emoji and other languages?

Yes. Text is encoded as UTF-8, so emoji, Korean, Chinese, Arabic and accented letters convert and round-trip correctly. Morse code only covers the letters, figures and signs defined by the ITU.

Is Base64 a kind of encryption?

No. Base64 only re-writes bytes with 64 safe characters. Anyone can decode it, so it does not protect data.

Can I convert numbers between binary and decimal here?

Use the binary to decimal converter. The text converters treat input as characters, so the digit "5" becomes its character code 53, not the number five.