Base64

Encode and decode Base64

Loadingโ€ฆ

Was this tool helpful?

About this tool

This tool converts text to and from Base64. It encodes to UTF-8 bytes first so multi-byte characters are preserved, and decoding reverses the same path to restore the original text exactly. Base64 is not compression or encryption โ€” it is just a way to represent binary data as text.

How to use

  1. Type or paste text into the 'Plain text' box on the left and the Base64 result appears instantly on the right.
  2. Conversely, paste a Base64 value into the right box and the original text is restored on the left.
  3. Pasting URL-safe Base64 (using - and _) also decodes correctly โ€” those characters are converted to the standard alphabet automatically.
  4. Use the copy button on either side to grab the value you need.

Frequently asked questions

Does converting to Base64 encrypt my data?
No. Base64 is an encoding that anyone can reverse, so it should never be used to keep something secret. Use actual encryption if you need to hide a value.
Will Korean text or emoji get corrupted?
No. Characters are converted to UTF-8 bytes before Base64-encoding, so decoding restores the exact original characters.
What happens if I enter invalid Base64?
If decoding fails, the input box border turns red and an error message is shown.
Is this the same Base64 used in URLs or JWTs?
URLs and JWTs often use URL-safe Base64, which uses - and _ instead of + and /. This tool automatically converts those characters to the standard alphabet when decoding.

Base64 is an encoding, not encryption that protects data. Encrypt sensitive information separately before handling it.

Similar tools