Base64 Encode Online

Convert any text or UTF-8 string into Base64.

Get this result as JSON (developer API)
curl "https://encode.wrapper-agency.com/api/v1/encode?op=base64-encode&value=Hello%2C%20world!"

Free encode/decode/hash API — no key during beta. Everything is computed locally; nothing you enter is stored.

About Base64 Encode

Base64 encoding represents binary or text data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is used to safely embed data in URLs, JSON, email (MIME), data URIs, and other text-only transports.

Each group of 3 bytes (24 bits) becomes 4 Base64 characters (6 bits each), which is why Base64 output is about 33% larger than the input. Trailing = signs are padding so the length is a multiple of 4.

This tool encodes your input as UTF-8 before Base64-encoding it, so emoji and non-ASCII text round-trip correctly.

Example

InputHello, world!
OutputSGVsbG8sIHdvcmxkIQ==

Use it from code

curl "https://encode.wrapper-agency.com/api/v1/encode?op=base64-encode&value=YOUR_TEXT"

Free during beta — no key. See the full API reference.

Related tools