Flowfiles ← Base64 Encoder / Decoder

Base64 Encoder Online

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 →
Input
Base64

Base64 encoding use cases

Base64 encoding is essential in many web contexts:

Frequently Asked Questions

How do I encode text to Base64?

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.

Which variant should I use for JWT?

Select URL-safe and uncheck Padding. JWT tokens use Base64URL (RFC 4648 §5): +-, /_, no trailing =.

Which variant for a PEM certificate?

Select Standard, PEM line wrap (64 chars), padding enabled. Then add the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- headers manually.

Does Base64 protect my data?

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.

Related tools