CodeForge
  1. Developer tools
  2. 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

  1. Open the Base64 tool and choose Encode or Decode.
  2. Paste your text. The result updates as you go.
  3. Copy the output, or download it as a .txt file.

Example

Text
Hello, CodeForge!
Base64
SGVsbG8sIENvZGVGb3JnZSE=

Features

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

URL Encode & DecodePercent-encode and decode URLs.JWT DecoderDecode tokens; verify and sign with Pro.Hash GeneratorMD5, SHA-1, SHA-256 and SHA-512.JSON FormatterFormat, validate and minify JSON.

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.

Open Base64 Encode & Decode — free Get the Windows app

Free in your browser — no sign-up. Install from the Microsoft Store to use it offline on Windows 10 and 11.