Base64 Codificador

Utilidad esencial para transmisión y codificación de datos.

Qué hace

Turns binary data into text-safe characters.

Úsalo para

Sending files or bytes through systems that only handle plain text well.

No lo uses para

Protecting secrets. Anyone can decode Base64 in seconds.

Compréndelo

Aprende el modelo mental antes de confiar en el resultado.

Contexto breve y práctico que explica para qué sirve la herramienta, cómo funciona y dónde la gente se equivoca.

In plain English

Base64 is a packaging format. It takes raw bytes and rewrites them using letters, numbers, plus, slash, and equals so the result can travel safely through text-first systems.

How it works

Base64 groups data into chunks of 3 bytes, then remaps those 24 bits into 4 printable characters. That is why the output looks different but is still fully reversible.

Three bytes become four characters

Base64 reshapes the same bits into a text-safe alphabet. It changes representation, not meaning.

Where you'd use it

  • Embedding images or files inside JSON or API payloads.
  • Sending binary data through email, form posts, or other text-only channels.
  • Creating data URLs for small assets in HTML or CSS.

Common mistake

People often assume Base64 hides data because the output looks like gibberish. It does not. If someone can read the string, they can usually decode it immediately.

Antecedentes

History / fun fact

Base64 became popular because older systems and protocols were much better at handling text than raw binary. The tradeoff is size: the output grows by roughly one third.

Security note

If you need confidentiality, encrypt first and only use Base64 afterward as a transport wrapper.

Deeper look

Why the output gets larger

Three original bytes become four Base64 characters. That extra character count makes the result around 33% larger than the original data.

Why padding appears

When the input length is not divisible by 3, Base64 adds '=' padding so the output still fits the expected 4-character grouping.