Base64 Encode/Decode
Encode or decode text using Base64 encoding.
About Base64 Encode/Decode
Encode any text string to Base64 or decode a Base64 string back to plain text. Base64 is commonly used in data URIs, email encoding (MIME), and embedding data in JSON or XML. This tool handles the conversion instantly in your browser.
FAQ
- What is Base64 used for?
- Base64 is used to encode binary data as text so it can be safely transmitted in formats like JSON, XML, email (MIME), and data URIs in HTML/CSS.
- Does Base64 encrypt my data?
- No. Base64 is an encoding, not encryption. Anyone can decode it. Do not use it to protect sensitive information.
- Why is the Base64 output longer than the input?
- Base64 represents every 3 bytes of input as 4 characters of output, so encoded strings are roughly 33% larger than the original.