📦 Base64 Koder/Dekoder

Kodirajte tekst u Base64 format ili dekodirajte iz Base64 formata u čitljiv tekst.

Što točno predstavlja Base64 format?

Base64 je metoda kodiranja koja se često primjenjuje kada postoji potreba za prijenosom binarnih podataka kroz medij namijenjen za tekstualne formate (kao što su ASCII znakovi). time osigurava prijenos bez uništenja koda.

Slucajevi Uporabe Base64

  • E-pošta: Strukturira privitke unutar teksta MIME encoding uses Base64 to embed binary files in text-based emails.
  • Front-End Razvoj: Rješava vanjske upite kod manjih formata slaganja (Icons) Embedding images directly in HTML/CSS using data:image/png;base64,...
  • Zaglavlje (Headers): Prijenos podataka akreditacije HTTP Basic Auth encodes credentials in Base64.
  • Zetoni Auth (Web): Upotrebljava se kod slanja Payload dijelova JWT payloads are Base64URL-encoded.

Converts data between binary and ASCII using Base64 encoding. Used for email attachments, data URLs, API payloads, and embedded images.

Key Facts

  • Increases data size by ~33%
  • Uses 64 characters: A-Z, a-z, 0-9, +, /
  • base64url variant uses - and _ for URL safety
  • = padding ensures output is multiple of 4

Frequently Asked Questions

What is Base64?

Binary-to-text encoding using 64-character alphabet. Ensures safe transmission through text-only channels.

Why use Base64?

For email attachments, data URLs, JSON binary data, and HTTP Basic Auth headers.

Is Base64 encryption?

No — it is encoding, not encryption. Anyone can decode it. Use AES/RSA for security.