Skip to content

Base64 Encoder & Decoder – Encode or Decode Text

Encode and decode Base64 online for free with ToolGuru. Convert text to Base64 or decode a Base64 string in your browser, including Unicode characters.

Mode

🔒 Your data is processed in your browser and is not uploaded to our server.

Free Base64 encoder and decoder

Encode text to Base64 or decode a Base64 string without installing a CLI. This Base64 converter runs in your browser, so you can encode Base64 and decode Base64 instantly — no account and no upload.

Encode Base64 from text

Switch to Encode, paste a line such as “Hello ToolGuru”, and convert. The output is standard Base64 you can place in JSON, HTTP headers, or email. UTF-8 is used so emoji and non-English text encode correctly.

Decode Base64 to text

Switch to Decode and paste a Base64 value. Spaces and line breaks are stripped first. If the alphabet or padding is wrong, you will see “Invalid Base64 input.” instead of a crash.

Related developer tools

Percent-encode links with the URL Encoder / Decoder, inspect tokens with the JWT Decoder, or tidy API responses with the JSON Formatter.

How to Encode or Decode Base64

  1. Step 1

    Choose encode or decode

    Use Encode to turn text into Base64. Use Decode to turn a Base64 string back into text.

  2. Step 2

    Paste your input

    Enter plain text, Unicode, or a Base64 string. Spaces in Base64 are ignored when decoding.

  3. Step 3

    Convert and copy

    Convert in your browser, then copy the result. Invalid Base64 shows a clear error instead of crashing.

Frequently Asked Questions

What is Base64 encoding?

Base64 turns binary or text into a set of letters, numbers, plus, and slash so it can travel safely in JSON, URLs, or email. Decoding reverses that process.

How do I encode text to Base64?

Choose Encode, paste your text, and convert. The output is a Base64 string you can copy into an API, config, or email.

How do I decode Base64?

Choose Decode, paste the Base64 value, and convert. If the input is not valid Base64 you will see “Invalid Base64 input.”

Does this encoder support Unicode?

Yes. Text is encoded as UTF-8, so Urdu, Arabic, emoji, and other Unicode characters round-trip correctly.

Is the Base64 converter free?

Yes. Encode and decode as often as you need. No account is required.

Is my text uploaded to a server?

No. Your data is processed in your browser and is not uploaded to our server.

Related tools