Base64 Encode

Base64 packs arbitrary bytes into a text-safe alphabet so they can travel through fields that expect plain text. This tool encodes your input to Base64 for use in off-chain payloads and memos. It runs entirely in your browser with no network call.

Type UTF-8 text to see its hex and Base64 encodings. To decode hex back to text, paste it below.

完全在浏览器中运行。无需 API 密钥,数据不离开本页面。

Why Base64 exists

Base64 represents three bytes with four ASCII characters, letting binary data pass through text-only channels such as JSON fields, data URIs and token metadata. In crypto tooling it commonly appears in off-chain payloads, signed message bodies, and metadata referenced by a transaction rather than stored inline in calldata.

Encoded output is larger

Base64 grows the data by roughly one third because four characters carry three bytes. That trade buys safe transport through text pipelines, which is why memos and metadata blobs are often Base64-encoded before being attached off-chain.

常见问题

Is Base64 encryption?

No. Base64 is reversible encoding, not encryption. Anyone can decode it, so never use it to hide secrets.

Is my input sent to a server?

No. Encoding runs locally in the browser with no network request and no API key.

相关工具

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥