Encode text to Base64 — Standard, URL-safe, MIME, PEM — free and 100% local
This Base64 encoder instantly converts any UTF-8 or Latin-1 text into Base64. Choose the variant that fits your use case: Standard for REST APIs, URL-safe for JWT and OAuth, MIME (76 chars/line) for email, PEM (64 chars/line) for SSL certificates and SSH keys.
Need the full tool with every Base64 option?
Open the Base64 tool →Paste a Data URI or raw Base64 below, then click Decode.
Base64 encoding is essential in many web contexts:
data:image/png;base64,….user:password encoded in the Authorization header.Type or paste your text in the Input field with Encode mode selected. The Base64 output updates in real time. Click Copy to copy the result.
Select URL-safe and uncheck Padding. JWT tokens use Base64URL (RFC 4648 §5): + → -, / → _, no trailing =.
Select Standard, PEM line wrap (64 chars), padding enabled. Then add the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- headers manually.
No. Base64 is reversible encoding, not encryption. Anyone who receives a Base64 string can decode it without a key. Use AES, RSA, or another algorithm to actually protect data.