What is Base64 Encoding?
Base64 is a way of representing data using only 64 safe text characters (A–Z, a–z, 0–9, + and /, with = for padding). It lets binary or special-character data travel through systems that only handle plain text, such as email bodies, JSON, data URIs and HTTP headers.
This Base64 encode decode tool converts text in both directions. Choose Encode to turn text into Base64, or Decode to turn a Base64 string back into readable text. Base64 is an encoding, not encryption — anyone can decode it.
How to Encode or Decode Base64
- 1Choose Encode or Decode — using the options at the top of the tool.
- 2Add your text — type or paste it into the input box, or use Upload File to load a .txt file.
- 3Click Generate — the converted result appears in the second box.
- 4Use the result — click Copy to Clipboard or Save as TXT.
Why Use This Base64 Converter?
Two directions in one place
Switch between encoding and decoding with a single option instead of using separate tools.
Load text files
Import the contents of a .txt file instead of copying and pasting long strings.
Save or copy output
Download the result as a TXT file or copy it with one click.
Standard output
Uses standard Base64, so results work with common programming languages and command-line tools.