Base64 encode and decode online
Encode text or a file to Base64 or decode it again. Text is handled as UTF-8, so accents and emoji survive the round trip.
Runs in your browser. Nothing is uploaded.
Loading the base64 encoder…
How to use the base64 encoder
-
Choose Encode or Decode.
-
Type the text, or pick a file to encode.
-
Copy the result. Turn on URL-safe for use in URLs and file names.
Frequently asked questions
What is Base64?
Base64 writes binary data with 64 printable characters, so it can travel through systems that only handle text, such as e-mail and JSON.
What does URL-safe Base64 change?
It replaces + with - and / with _ and leaves out the = padding, so the result can be used in URLs and file names without escaping.