Base64 Encoder / Decoder
Encode or decode text to and from base64, with a URL-safe variant.
Recommended next steps
Related tools
Build consistent campaign tracking links for GA4.
Estimate text tokens and rough AI API costs before running a prompt.
Create a QR code from any text or link and download it as PNG or SVG.
Frequently asked questions
No. The conversion runs entirely in your browser using the built-in btoa and atob APIs. The text you paste is only used to compute the output shown on this page.
URL-safe base64 replaces "+" with "-" and "/" with "_", and removes "=" padding, so the output can be used in URLs or filenames without further encoding. Use the same option when decoding such inputs.
Yes. The input is treated as UTF-8, so emoji and characters from any language encode and decode correctly without corruption.
Last updated 2026-06-03.