Base64 Encode / decode
A simple way to convert text and files.
How to useHow to use Base64
Base64 represents text or binary data as characters. It is not encryption: anyone can decode it.
- 01
Choose a direction
Choose Encode to produce Base64, or Decode to restore the original data.
- 02
Enter text or open a file
Unicode text and emoji use UTF-8. Enable URL-safe if you need that variant.
- 03
Convert and save
Copy or download the result. Use Download to save decoded binary data.
Encoding Hello
Hello → SGVsbG8=Spaces and line breaks are part of the original data. Whitespace is ignored in Base64 input when decoding.
Frequently asked questions
Is Base64 encryption?
No. It represents data as characters and has no secret key. It cannot protect passwords or confidential information.
What is different about URL-safe Base64?
It replaces + and / with - and _. Encoding omits = padding. Decoding accepts valid input with or without padding.
What if text or files look corrupted?
Text uses UTF-8. Download non-text results as raw bytes. Base64 does not store the original filename, so set the file extension to match the original format.