- Developer tools
- Base64 Encode & Decode
Base64 encoder and decoder
Encode text to Base64 or decode it back in one click. CodeForge handles UTF-8 correctly, so accented characters and emoji survive the round trip — and nothing you paste leaves your device.
Free in your browser — no sign-up. Install from the Microsoft Store to use it offline on Windows 10 and 11.
How to use it
- Open the Base64 tool and choose Encode or Decode.
- Paste your text. The result updates as you go.
- Copy the output, or download it as a
.txtfile.
Example
Hello, CodeForge!SGVsbG8sIENvZGVGb3JnZSE=Features
- UTF-8 safe — non-English text and emoji encode and decode correctly.
- Encode and decode with live output, copy and download.
- File to Base64 — turn images and other files into raw Base64 or a ready-to-paste data URI. PRO
- Batch encode a folder — drop text files and get a ZIP of encoded results. PRO
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding that represents binary data as text. Anyone can decode it, so never use it to protect secrets.
Why is the encoded text longer than the original?
Base64 uses 4 characters for every 3 bytes, so output is about 33% larger, plus up to two = padding characters.
What is a data URI?
A data URI embeds a file directly in HTML or CSS, like data:image/png;base64,… — handy for small icons. CodeForge Pro generates one from any file.
Related tools
One workspace for all of it
Base64 Encode & Decode is one of 18 developer tools in CodeForge — alongside a JSON formatter, JWT decoder, regex tester, UUID and hash generators, and more. Press Ctrl+K to jump to any of them.
Free in your browser — no sign-up. Install from the Microsoft Store to use it offline on Windows 10 and 11.