Base64URL Encode
Produce URL-safe Base64 without padding characters.
Encode text to Base64, or decode it back.
Base64 represents binary data with 64 printable characters, so binary can travel through text-only protocols. Encode: encodes any data into strings of the 64 characters A-Z, a-z, 0-9, + and / Decode: restores the original data from a Base64 string URL-safe mode: replaces + with -, / with _, and drops the = padding
Encodes through UTF-8 first, so Chinese text and emoji survive the round trip.
Encode and decode live on the same page and update as you type.
Invalid Base64 raises an error instead of quietly returning mojibake.
Paste text or Base64
Type text to encode, or paste a Base64 string to decode.
Pick the direction
Switch encode/decode at the top; the result updates as you type.
Copy the result
One copy button above the output pane.
The input is turned into UTF-8 bytes with TextEncoder before encoding, and reversed on the way back — not processed character by character.
No. It is an encoding anyone can reverse, so do not use it to protect anything sensitive.
Produce URL-safe Base64 without padding characters.
Encode or decode text using the Base32 alphabet.
Encode or decode numbers and text in Base36.
Encode or decode with Base58, the alphabet Bitcoin addresses use.
Turn text into its 0 and 1 representation.
Turn a binary string back into readable text.
Convert text to a hexadecimal string.
Convert a hexadecimal string back to text.