Codificador / Decodificador Base64Base64 Encoder / Decoder
Codifica o decodifica texto en Base64 al instante. 100% en tu navegador.
Encode or decode text to Base64 instantly. 100% in your browser.
Qué es Base64 y para qué sirveWhat is Base64 and what is it used for
Base64 es un esquema de codificación que convierte datos binarios en texto ASCII usando 64 caracteres (A-Z, a-z, 0-9, + y /). Se usa ampliamente para embeber imágenes en HTML/CSS, transmitir datos en JSON, codificar archivos adjuntos en emails o pasar datos binarios por canales que solo admiten texto.
Base64 is an encoding scheme that converts binary data into ASCII text using 64 characters (A-Z, a-z, 0-9, + and /). It is widely used to embed images in HTML/CSS, transmit data in JSON, encode email attachments or pass binary data through text-only channels.
La variante URL-safe reemplaza + por - y / por _, y elimina el relleno =, para que el resultado sea seguro en URLs sin necesidad de percent-encoding. Es el formato que usan los tokens JWT, entre otros.
The URL-safe variant replaces + with - and / with _, and removes the = padding, so the result is safe in URLs without percent-encoding. This is the format used by JWT tokens, among others.