IVX
Conversor de Números RomanosES
ENCODING & DATA FORMATS TOOL • UNIFIED WORKSPACE

Decodificador y Codificador Base64

Codifica texto a Base64 y decodifica cadenas Base64 a texto plano al instante.

Presets:
Ready
MMXXVI
¡Copiado!

Desglose del Cálculo

Acerca de Decodificador y Codificador Base64

Base64 is a widely used binary-to-text encoding scheme that represents binary data in an ASCII string format. Defined in RFC 4648, Base64 takes groups of 24 bits (3 eight-bit bytes) and partitions them into four 6-bit chunks ($2^6 = 64$ possible values), mapping each chunk to a character in a 64-symbol index table.

The Base64 alphabet consists of uppercase letters A–Z (0–25), lowercase letters a–z (26–51), numerals 0–9 (52–61), and two punctuation symbols: plus (+) and slash (/). The equals sign (=) is appended as padding when the input data is not an exact multiple of 3 bytes.

Our Base64 decoder and encoder runs natively in your browser, enabling instant, secure conversion of strings, API tokens, and authorization headers without sending data to any external server.

Cómo usar esta herramienta

  1. Introduce el valor o texto en el campo de entrada.
  2. Configura las opciones de conversión o intercambio según sea necesario.
  3. El resultado se genera de forma inmediata en tiempo real.
  4. Haz clic en el botón Copiar para guardar el resultado.

How Base64 Encoding & Decoding Works

Encoding: Every 3 input bytes (24 bits) are divided into 4 six-bit integers. Each 6-bit integer (0–63) is replaced with its corresponding character in the Base64 alphabet. If only 1 byte is left at the end, two "=" padding characters are added; if 2 bytes are left, one "=" is added.

Decoding: Each Base64 character is looked up in the reverse index table to recover its 6 bits. The bits are reassembled into 8-bit octets and decoded into standard UTF-8 text.

Base64 Examples

Encoding Text to Base64

Encoding standard greeting phrase.

In:Hello World!
Out:SGVsbG8gV29ybGQh

Decoding Base64 to Text

Deciphering a Base64 string back into readable English.

In:QW50aWdyYXZpdHk=
Out:Antigravity

Base64 Index Table (64 Characters)

IndexCharacterIndexCharacter
0–25A–Z26–51a–z
52–610–962+ (Plus)
63/ (Slash)Pad= (Equals)

Encoding vs Encryption Warning

  • Base64 is an encoding format for safe data transport across networks, NOT cryptographic encryption. Anyone with a Base64 decoder can decode the original content in milliseconds.
  • Base64 encoded data is approximately 33% larger in file size than the raw binary data.

Preguntas Frecuentes

What is Base64?
Base64 is a binary-to-text encoding format that transforms binary data into a set of 64 printable ASCII characters (A–Z, a–z, 0–9, +, and /) so it can be safely stored or transmitted over text-only protocols like HTTP and SMTP email.
How to decode Base64?
To decode Base64, paste your encoded string into our online Base64 decoder and select "Decode". In programming, you can use built-in functions such as atob() in JavaScript, base64.b64decode() in Python, or the "base64 -d" terminal command.
How does Base64 work?
Base64 takes three 8-bit bytes (24 bits in total) and splits them into four 6-bit numbers. Each 6-bit value (0 to 63) corresponds to a specific character in the Base64 alphabet table.
Can Base64 be decoded?
Yes, absolutely. Base64 is a reversible, deterministic encoding format that requires no secret key or password. Anyone with access to a Base64 decoder can decode it instantly.
Is Base64 safe to use?
Base64 is safe for transmitting binary data across text-only networks without byte corruption. However, it provides zero security or privacy; it does NOT encrypt or protect sensitive passwords.
How to convert into Base64?
Enter your plaintext into our converter and select "Encode". The tool converts each character into its UTF-8 byte values, regroups them into 6-bit indices, and outputs the Base64 string.
Is Base64 the same as ASCII?
No. ASCII is a character set that assigns numeric values from 0 to 127 to English characters and control codes. Base64 is an encoding algorithm that uses a specific subset of 64 printable ASCII characters to represent arbitrary binary data.

Herramientas Relacionadas