How to use the Base64 tool
- Choose Encode to turn text into Base64, or Decode to turn Base64 back into text.
- Type or paste into the box. The result updates as you type.
- Press Swap to send the result back the other way.
Any language and emoji work, because text is converted to UTF-8 first. Tick URL-safe for Base64 that can go in a web address or a JWT. To embed an image or font in CSS or HTML, use Encode a file to get a data URL.
What is Base64?
Base64 writes any data using only 64 safe characters: A to Z, a to z, 0 to 9, + and /. Email attachments, data URLs and many APIs use it to carry binary data as plain text. The result is about a third larger than the original.
Base64 is not encryption. Anyone can decode it, so never use it to hide passwords.
Example
Hello, India! encodes to SGVsbG8sIEluZGlhIQ==. The == at the end is padding.