Base64

Encode and decode Base64 strings and files online. Supports standard and URL-safe Base64 (RFC 4648). Encode text or binary files — 100% in-browser, no upload needed.

Convert text or binary data to Base64 and back in seconds. Supports both standard Base64 and URL-safe Base64 (RFC 4648), which replaces + with - and / with _ for use in JWTs and URLs. Paste text or upload a file — the output appears instantly without any server round-trip. Useful for embedding images in HTML as data URIs, encoding API payloads, and debugging authentication tokens.

Frequently Asked Questions

What is the difference between standard and URL-safe Base64?
URL-safe Base64 replaces + with - and / with _, making the output safe for URLs, filenames, and JWTs without requiring percent-encoding.
Can I encode binary files?
Yes, upload any file and it will be Base64-encoded entirely in your browser without being uploaded to a server.
Is this tool free to use?
Yes, all tools on Here Be Tools are completely free with no signup or account required.
Is my data sent to a server?
No. All processing happens locally in your browser. No data you enter is ever transmitted to any server.

Related Tools