Browser-based

Base64 Encode/Decode (Text/File Support)

Instantly execute Base64 Decode / Base64 Encode in your browser. A Base64 conversion tool capable of converting text, files, and Data URLs.

No server transmission (browser processing) Data URL support UTF-8 text display
Mode
Entrada Type

Suggests the optimal process based on input content.

Entrada (Text)
Ctrl/⌘ + Enter to convert
* Entrada content is not sent; it is processed within this browser.
Salida
Salida can be copied or downloaded.

Advanced Configuraci?n

Common
Encode (Text)
Character Encoding
UTF-8
Salida Format
MIME
Decode (Display/Salida)
Decode Resultado Handling

When displaying as text, it is interpreted as UTF-8. If the original data is in a different character code, the display may be corrupted.

Usage / Examples

Encode Base64

  1. Set mode to 'Encode' or 'Auto Detect'.
  2. Paste text into the input field.
  3. Click Convert to get Base64.
Entrada
Hello, Base64!
Salida
SGVsbG8sIEJhc2U2NCE=

Decode Base64

  1. Set mode to 'Decode' or 'Auto Detect'.
  2. Paste Base64 (or Data URL).
  3. Convert to see text or file result.
Entrada
VGhpcyBpcyBhIHRleHQgZXhhbXBsZQ==
Salida
This is a text example

Separate Data URL

Paste a Data URL to automatically separate the MIME and Base64 body. You can copy and reuse them.

Data URL
data:text/plain;base64,SGVsbG8=
Separation Resultado
MIME: text/plain
Base64: SGVsbG8=

Notas

If text is corrupted

If it looks wrong even with 'Display as text (UTF-8)', please download as binary to check.

Data URL Format

data:...;base64, follows the Base64 body. It cannot be separated if the header is missing.

Large Entrada

Processing may take time if the size is large.

Trivia

  • Base64 converts 3 bytes into 4 characters.
  • URL-safe Base64 uses - _ instead of + /.

FAQ

Text is garbled

We provide a 'Display as text (UTF-8)' mode. For binary data, please switch to 'Descargar as file' to check.

Does it support Data URL (data:image/...;base64,)?

S?. It automatically separates the data:*;base64, header and the Base64 body, and can also display the MIME type.

Is the file sent?

No. Conversion is completed within the browser and is not uploaded to the server.

Can it decode Base64 with newlines?

S?. Turn on 'Ignore whitespace/newlines' to handle Base64 with newlines from emails or certificates.

Does it support Base64URL (- and _)?

S?. Turn on 'Allow URL-safe Base64'.