# Base64 Encoder / Decoder

> Encode text to Base64 or decode it back, right in your browser.

- Page: https://www.brandbakery.tech/tools/base64-codec
- Last updated: 2026-10-21

Breadcrumb: [Home](https://www.brandbakery.tech/) > [Tools](https://www.brandbakery.tech/tools) > Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text, with full UTF-8 support. It all runs in your browser, so nothing you paste is sent to a server.

## Use it

Open the tool in a browser at https://www.brandbakery.tech/tools/base64-codec. It is free and needs no signup.

## Use it from code

Encode UTF-8 text to Base64 or decode Base64 back to text.

`POST https://www.brandbakery.tech/api/tools/base64_codec` with a JSON body, or call the `base64_codec` tool on the [MCP server](https://www.brandbakery.tech/mcp).

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string | yes | Text to encode, or Base64 to decode. |
| `mode` | string | yes | Direction. One of: encode, decode. |

## Related tools

- [JSON Formatter & Validator](https://www.brandbakery.tech/tools/json-formatter): Paste messy or minified JSON and get it formatted, validated and easy to read, with errors pointed out.
- [UUID Generator](https://www.brandbakery.tech/tools/uuid-generator): Generate random v4 UUIDs, one at a time or up to 100 in a batch.
- [URL Slug Generator](https://www.brandbakery.tech/tools/slug-generator): Turn any title into a clean, readable URL slug.

Category: [Developer](https://www.brandbakery.tech/tools/category/developer)

---

Brand Bakery is a design-first digital studio in New Delhi. Start an enquiry at https://www.brandbakery.tech/contact or email support@brandbakery.tech. This is the Markdown copy of https://www.brandbakery.tech/tools/base64-codec; the site index for language models is https://www.brandbakery.tech/llms.txt.
