How to use
- 1 Pick Encode or Decode.
- 2 Paste text or upload a file (up to 5MB).
- 3 Toggle URL-safe Base64 if you need a variant compatible with URLs and filenames.
Why use this tool
- Full Unicode support — emoji and CJK characters encode correctly.
- URL-safe variant — replaces + / with - _ and strips padding.
- File-to-Base64 mode for embedding small images / binary in JSON or data URLs.
- Runs in your browser — your data never reaches our servers.
Frequently asked questions
What is URL-safe Base64?
Standard Base64 uses + / = which break in URLs and filenames. URL-safe Base64 (RFC 4648 §5) replaces + with -, / with _, and removes padding =. Used in JWT, OAuth state, and many web APIs.
Can I encode files?
Yes — click "File → Base64" to upload. Max 5MB to keep the browser responsive. For larger files, use a streaming command-line tool.
Is Base64 encryption?
No — Base64 is reversible encoding. Anyone can decode it. Use it only for transport, never for hiding sensitive data.
Base64 Encoder & Decoder is a free developer utility by Zerethon Tools. Encode and decode Base64 text or files. Supports standard and URL-safe variants. Free, no signup. Runs entirely in the browser — no signup, no upload.
- Category
- Developer
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Related tools
JSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolYouTube Thumbnail Downloader
Download YouTube thumbnails in all available resolutions. Just paste a video URL.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.