Base64 Encoder / Decoder
Processed locally · Never leaves your browserEncode text or files to Base64, or decode Base64 back to plain text. Supports Unicode, URL-safe mode, and data URIs.
What is Base64?
A-Z a-z 0-9 + /A-Z a-z 0-9 - _ (no padding)data:image/png;base64,...Next steps
Hash Generator
RecommendedGenerate secure MD5, SHA-256, and SHA-512 hashes from any text.
JSON Formatter
RecommendedInstantly format, validate, or minify JSON — spot errors in seconds.
Code Formatter
Make messy code readable — beautify or minify JS, HTML, and CSS.
Regex Tester
Write and test regex patterns with real-time match highlighting.
What Is Base64 Encoding?
Common Use Cases
Inline icons in CSS
Embed small SVG or PNG icons as data URIs to eliminate an HTTP request for above-the-fold UI chrome.
JWT and OAuth payloads
Encode and decode the URL-safe Base64 segments inside JSON Web Tokens to inspect headers and claims during auth debugging.
Kubernetes secrets
Encode TLS certificates, kubeconfig fragments, and API keys for the data: field of a Secret manifest, where Kubernetes expects standard Base64.
Email attachments
Produce MIME-compatible Base64 bodies when crafting raw SMTP messages or testing email pipelines.
Frequently Asked Questions
Step-by-step guide
How to encode or decode Base64
Walk through every step with screenshots, format-specific tips, and the platform-by-platform limits you need to know.
Advertisement