developer

Base64 Encoder/Decoder

Encode UTF-8 text to Base64 or decode Base64 back to text — standard and URL-safe alphabets, strict located errors for bad input and invalid UTF-8. Encoding, not encryption.

Input

0 B of 2.0 MB used. e.g. a token, a data URI payload, any UTF-8 text. Direction and alphabet re-derive the result — nothing is fetched or stored.

Result

Direction
Alphabet

Standard encode — text → UTF-8 bytes → Base64 over the standard alphabet (A–Z a–z 0–9 + /) with = padding, emitted as one unwrapped line. Encoding, not encryption.

Base64 is an encoding, not encryption. Anyone can reverse it — use it to inspect tokens, data URIs and simple payloads, never to hide secrets. Text only: there is no file or binary mode, and decoded output must be valid UTF-8 text.

Paste or type text on the left — the encode result appears here as you type. Pick a direction and alphabet above; the exact rule is shown.

Paste or type text on the left — the result appears here as you type.

Privacy settings

Checking…

We count anonymous tool use and coarse errors to improve ToolDeck. We do not send your files, pasted text, generated links, or results. Normal network delivery still exposes connection metadata to Cloudflare. Your choice is stored only in this browser's local storage — we do not create a visitor ID. Decline opts out; your browser's Global Privacy Control or Do Not Track signal overrides any choice.

Developer feedback