Encode and decode Base64.
Convert text or files to and from Base64. Standard or URL-safe variant. Everything runs in your browser β nothing is uploaded.
Runs locally. Your text and files never leave your browser. No server, no storage, no account.
Invalid Base64 β check the input and try again.
Invalid Base64 β check the input and try again.
Text that travels safely anywhere.
What Base64 is
Base64 encodes binary data as plain ASCII text using 64 safe characters. It's not encryption β it's packaging. Anyone can decode it. The value is that the result goes anywhere text goes: URLs, JSON, HTML, email headers.
Standard vs URL-safe
Standard Base64 uses + and /, which have special meaning in URLs and break query strings. URL-safe Base64 replaces them with - and _. Use URL-safe when the result will appear in a URL, JWT, or filename.
Common uses
Embedding images in CSS as data: URIs, passing binary data through JSON APIs, reading email attachments (MIME encoding), decoding JWT payloads, and encoding credentials in HTTP Basic Auth headers.