Base64 encode and decode
Both directions, with a readable message when the input is not valid.
What you type is processed in your browser and never sent to us.
How to do it
-
Pick a direction
Encode or decode.
-
Paste your input
The result appears as you type.
-
Copy it
One click.
What this is for
Base64 turns any text into a form that survives being passed through systems that only expect plain letters – configuration files, HTTP headers, data URLs.
Accented characters and emoji are handled correctly in both directions, which is where quick implementations usually fall over.
Common questions
Base64 is not encryption – anyone can decode it. It makes text transportable, not secret.
Usually a character is missing at the end. Base64 comes in blocks of four, padded with = signs.
Usually characters are missing at the end, or foreign characters have crept in. Spaces and line breaks are removed by the tool itself.
Missing a tool? Tell us which one.