Base64 Koder

Niezbędne narzędzie do transmisji i kodowania danych.

Do czego służy

Turns binary data into text-safe characters.

Użyj do

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

Nie używaj do

Protecting secrets. Anyone can decode Base64 in seconds.

Zrozum to

Poznaj model mentalny, zanim zaufasz wynikowi.

Krótki, praktyczny kontekst wyjaśniający, do czego służy narzędzie, jak działa i gdzie ludzie popełniają błędy.

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.

Kontekst

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.