Skip to content

Base64 Encoder & Decoder

Encode UTF-8 text to Base64 or decode validated Base64 text locally in your browser.

0 input characters

Base64 output

0 output characters

Base64 is an encoding, not encryption. Anyone with the encoded value can decode it. Processing stays in your browser.

Your data is processed locally in your browser whenever supported and is not uploaded to our servers.

How it works

Convert Base64 text in three steps

01

Choose a direction

Encode readable UTF-8 text or decode Base64 back into UTF-8 text.

02

Select the variant

Use standard Base64 for general data or the URL-safe alphabet for URLs and tokens.

03

Copy or reuse

Copy the result or move it into the input to reverse the conversion immediately.

Strict and private

Unicode-safe conversion without a server round trip.

Text is converted to UTF-8 bytes before encoding. Decoding validates the selected alphabet, padding, and UTF-8 output instead of silently replacing invalid data.

Unicode support

Encode and decode international characters and emoji using UTF-8.

Strict validation

Malformed alphabets, lengths, padding, and non-canonical padding bits produce clear errors.

URL-safe variant

Choose the dash and underscore alphabet, with optional padding when encoding.

Local processing

Your input and output stay in the browser and are not uploaded for conversion.

FAQ

Common questions

Is Base64 encryption?

No. Base64 is a reversible encoding used to represent bytes as text. Anyone who has the encoded value can decode it, so do not treat it as protection for secrets.

What is the difference between standard and URL-safe Base64?

Standard Base64 uses plus and slash characters. URL-safe Base64 replaces them with dash and underscore so the value is easier to place in URLs and filename-safe contexts.

Is the equals-sign padding required?

Standard Base64 commonly includes equals-sign padding. URL-safe applications often omit it. The encoder lets you choose, and the decoder accepts correctly padded or unpadded input for the selected alphabet.

Can I encode a file with this tool?

This version is designed for UTF-8 text, not arbitrary binary files. A future file-focused tool would need separate size limits and download behavior.

Is my text uploaded or saved?

No. Encoding, validation, and decoding run locally in your browser. Got A Tool does not receive or store the text.

Keep working