How to use the Base64 Encoder / Decoder
Choose whether to Encode or Decode using the toggle at the top. Paste your text or Base64 string into the input and the result appears instantly. Click Copy to grab the output.
Frequently Asked Questions
Base64 converts binary data (like images or files) into a text string using 64 printable characters. This makes it safe to include in emails, HTML, CSS and JSON, which cannot handle raw binary data.
No. Base64 is encoding, not encryption. Anyone can decode a Base64 string instantly — it provides no security. Never use it to hide sensitive information.
Common uses include embedding images directly in CSS or HTML, encoding email attachments, passing data in URLs, and storing binary data in JSON or XML.
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 replaces these with - and _ so the string can be safely included in a web address.