Codificador / decodificador Base64
Codifica y decodifica Base64 para texto (seguro con UTF-8) y archivos, con salida segura para URL. Todo funciona localmente.
Cómo usar
Text is encoded as UTF-8, so non-ASCII text works as-is. The URL-safe option replaces + and / with - and _ and drops the = padding. To encode a file, just pick one (10 MB cap) — you also get a ready-made data URL. To turn Base64 back into a file, paste it into the input, set the MIME type and use the download button.
Notas
Everything is processed in your browser; files are never uploaded. Decoding to text validates the result as UTF-8, so arbitrary binary data may fail with an error — use the download button for binary content instead.
Preguntas frecuentes
How much larger is Base64 output?
About 33%: every 3 bytes become 4 characters.
Can it decode Base64 with line breaks?
Yes, whitespace is ignored when decoding.