Data tool

Base64 encode/decode

Convert UTF-8 text to Base64, or decode Base64 back to readable UTF-8 text. Processing stays in your browser.

Input

Source text

Output

Converted result

Usage examples

Encode short UTF-8 config values, API examples, or support snippets when a system expects a Base64 text representation. For example, `hello ✓` becomes bytes first and then Base64, so non-ASCII characters round-trip correctly. Decode a value before using it so you can inspect the actual text instead of trusting an opaque-looking string.

Readable errors

Decode mode validates the alphabet, four-character grouping, padding, and UTF-8 result. Invalid characters, misplaced `=`, truncated groups, or arbitrary binary bytes leave the output blank with a specific error. Whitespace around a pasted value is ignored, but the tool does not try to repair a damaged payload.

Limitations

Base64 is reversible encoding, not encryption, hashing, or access control. Anyone with the value can decode it. This page handles pasted UTF-8 text only; it does not accept files, Base64URL's `-` and `_` alphabet, data-URI prefixes, or arbitrary binary output. Do not place secrets in Base64 and assume they are protected.

Privacy

Text encoding and decoding run in this browser tab, and the page does not send pasted text or Base64 values to a server. Copying is an explicit action. Once you paste the result into a configuration system, chat, or API client, that destination's storage and logging rules apply.