Encode and decode Base64 — text, files, and images
Base64 is the encoding scheme behind data URIs, JWT tokens, email attachments, API payloads and embedded credentials. Our free online Base64 encoder/decoder converts between text, binary files and Base64 strings instantly in your browser, supporting the whole UTF‑8 character set as well as URL‑safe Base64 variants.
Developers reach for Base64 dozens of times a day — embedding small images directly into CSS, decoding JWT payloads to inspect claims, encoding API keys for HTTP basic auth, or transporting binary blobs through JSON. This tool handles all of those workflows in a single clean interface without leaking sensitive data to a server.
Because conversion runs locally, you can paste production tokens, customer data, or proprietary keys without any privacy concern. The tool also displays decoded output in friendly form so you can verify that the encoded value actually contains what you think it does.