TL;DR: Encode text or files to Base64, or decode Base64 back to the original — runs locally, no upload.
Encode and decode Base64 online for free — convert text, files, or binary data to and from Base64 format instantly. Works entirely in your browser, no data sent anywhere.
Like the rest of the 179-tool PrivaTools suite, Base64 Encoder / Decoder is MIT-licensed and self-hostable. The public demo deletes your file as soon as the response leaves the server — verifiable in the open-source codebase on GitHub.
Yes. Upload any file — images, PDFs, binaries — and the tool returns the Base64-encoded string. Useful for embedding files in JSON, HTML, or CSS.
Files up to 500 MB can be encoded. Keep in mind that Base64 output is approximately 33% larger than the original file.
Standard Base64 (RFC 4648) using A-Z, a-z, 0-9, +, and /. URL-safe Base64 (replacing + and / with - and _) is also available.
Working with PDFs too? Try our Merge PDF, Compress PDF, PDF to Word, or all 175+ tools.