Skip to content

Developer tools

Base64 encode and decode online

Turn text or a file into Base64, or decode a Base64 string back into readable text. UTF-8 safe, and nothing leaves your browser.

  • No uploadYour files are processed on your device and never sent anywhere.
  • FastNo upload or download wait – results appear in seconds.
  • Free, no signupNo account, no watermark and no daily limit.
Base64 encoder and decoder

Processed in your browser. Files are never uploaded.

Direction

or drop a file here

How to use the base64 encoder and decoder

  1. Choose Encode or Decode.

  2. Paste text, or choose a file when encoding.

  3. Copy the result.

  • No uploadYour files are processed on your device and never sent anywhere.
  • FastNo upload or download wait – results appear in seconds.
  • Free, no signupNo account, no watermark and no daily limit.

Base64 encode and decode in your browser

Paste text, or choose a file, to get its Base64 string. Or paste a Base64 string to decode it back into readable text. Text is handled as UTF-8, so Hindi, accented letters and emoji round-trip correctly. Developers use it for API tokens, basic-auth headers, JSON fields and email attachments. Everything runs in this tab.

Examples

Text Base64
hello aGVsbG8=
MondayKit TW9uZGF5S2l0
user:pass dXNlcjpwYXNz

Base64 is not encryption

Anyone can decode Base64 in a second. Don’t use it to hide passwords or personal data. For a real secret, use the password generator. To check that a file hasn’t changed, use the hash generator.

Tips

  • Encoded output is about a third larger than the original.
  • For images in HTML or CSS, Image to Base64 builds the full data URI.
  • Encoding a value for a URL instead? Use the URL encoder.

Limits

Decoding always returns text. Binary files encoded as Base64 can’t be downloaded as files here.

Frequently asked questions

What is Base64?

A way to write any data using 64 safe characters (A–Z, a–z, 0–9, + and /). It is used in email attachments, data URIs, JSON fields and HTTP headers. It is encoding, not encryption.

How do I decode a Base64 string?

Choose Decode, paste the string and copy the text. Spaces and line breaks are ignored. Other invalid characters show an error.

Does it handle Hindi or emoji?

Yes. Text is encoded as UTF-8 first, so non-English letters and emoji round-trip correctly.

Can I get a data URI for an image?

Use Image to Base64. It adds the data:image prefix and gives HTML and CSS snippets.

Is Base64 secure?

No. Anyone can decode it. Use Protect PDF or a password manager for secrets.

Is my data uploaded?

No. Encoding and decoding run in this tab.

Related tools

Last updated: