Base64 Encode and Decode Online
Convert plain text to Base64 or decode a Base64 string instantly.
How to use this Base64 converter
- To encode text, paste it into the left field and select Encode to Base64.
- To decode a Base64 value, paste it into the right field and select Decode Base64.
What is Base64?
Base64 represents binary data with printable ASCII characters: A-Z, a-z, 0-9, + and /. It is commonly used to carry binary data in JSON, email attachments, data URIs and API requests.
Base64 is an encoding format, not encryption. Anyone who has the encoded value can decode it, so do not use it to protect passwords, tokens or other secrets.
Common questions
- Does Base64 increase file size?
- Yes. Encoded data is usually about one third larger than the original binary data.
- Why does Base64 end with =?
- The equals sign is padding. It is added when the input length is not a multiple of three bytes.
- Is Base64 URL-safe?
- Standard Base64 uses
+and/. URL-safe Base64 replaces them with-and_.
Feedback