๐Ÿ” Base64 Encoder/Decoder

Encode text to Base64 or decode a Base64 string back to text.

How to use

  1. Enter text or a Base64 string.
  2. Click "Encode" or "Decode".
  3. Use the copy button to grab the result.

๐ŸŽฏ Use Cases

Example

Input
admin:s3cr3t!
Output
YWRtaW46czNjcjN0IQ==

Clicking "Encode" converts a user:password credential to Base64. The result can be used directly as an HTTP Basic auth header value: Authorization: Basic YWRtaW46czNjcjN0IQ==.

FAQ

What's the difference between standard Base64 and URL-safe Base64?
URL-safe Base64 replaces +/ with -_ and omits padding (=) so it can be safely used in URLs or filenames. This tool uses standard Base64.
Are multi-byte characters encoded correctly?
Yes. Encoding and decoding are done on UTF-8 bytes, so non-ASCII text and emoji are handled correctly without corruption.
Is the content I enter sent to a server?
No. It's processed with the browser's built-in btoa/atob and TextEncoder/TextDecoder.

๐Ÿ” Learn more: What Is Base64 Encoding and When to Use It

Why it's used in email attachments & data URIs

More Security Tools

๐Ÿ”‘
Password Generator
Generate strong random passwords
#๏ธโƒฃ
Hash Generator
Generate MD5, SHA-1, SHA-256 hashes
๐Ÿ“ฑ
QR Code Generator
Turn text/URLs into a QR code
๐Ÿ—๏ธ
htpasswd Generator
Generate APR1-MD5 hashed passwords
๐Ÿ”
SSL Certificate Viewer
Check issuer, validity & SANs
๐Ÿ“œ
CSR Viewer
Check CSR subject & public key info
โ™ป๏ธ
SSL Certificate Converter
Convert PEM โ†” DER (HEX)
๐Ÿค
Cert/Key Pair Checker
Verify a certificate matches its private key
๐Ÿฉบ
SSL Checker
Check HTTPS connectivity & trust
๐Ÿช„
Self-Signed Certificate Generator
Generate a self-signed SSL cert & key
๐Ÿ”‘
HTTP Auth Header Generator
Build Basic/Bearer Authorization headers
๐Ÿชช
JWT Decoder
Inspect JWT header/payload, verify HS256
๐ŸŽซ
Random Token Generator
Generate Hex/Base64/UUID tokens
๐Ÿ”’
Jasypt Encrypt/Decrypt
Encrypt/decrypt Spring Boot ENC(...) values