Learn About Base64 Encoding
Comprehensive guides and tutorials to help you understand Base64 encoding, decoding, and related technologies.
Fundamentals
What is Base64 Encoding?
A comprehensive guide to Base64 encoding, how it works, when to use it, and common applications.
Comparison
Base64 vs Base64URL
Understand the differences between standard Base64 and URL-safe Base64, and when to use each.
Security
Understanding JWT Tokens
Learn about JSON Web Tokens, their structure, claims, and how they use Base64URL encoding.
Web Dev
Data URIs Explained
How to embed images and files directly in HTML/CSS using Base64-encoded Data URIs.
Code
Base64 in Programming Languages
Code examples for Base64 encoding/decoding in JavaScript, Python, Java, PHP, and more.
Quick Reference
Base64 Alphabet
A-Z, a-z, 0-9, +, / (and = for padding)Base64URL Alphabet
A-Z, a-z, 0-9, -, _ (no padding)Size Increase
Base64 increases data size by ~33% (4 chars for every 3 bytes)
Common Uses
Email attachments, Data URIs, JWT tokens, API payloads
Ready to encode or decode?
Try the Encoder/Decoder →