Toolbox / Base64 encode / decode Runs in your browser中文
Encoding & conversion

Base64 encode / decode

Text to bytes and back again. Chinese and emoji make the round trip intact.

Ctrl / ⌘ + Enter Run

Ready when you are

01

Add your contentPaste text or try a sample

02

Choose an actionClear options. Predictable results.

03

Take it with youCopy, download and carry on

Less switching. More focus.Functional build · Validation in progress

Using this tool

Convert UTF-8 text to or from Base64, for inspecting text payloads rather than encrypting data.

Actions: Encode · Decode

Example

Encode hello; decoding aGVsbG8= restores it.

Example action and settings

Action: Encode
URL-safe alphabet (- and _, no = in encoded output): Off

Input / action

hello

Result / expected behavior

aGVsbG8=

Available options: URL-safe alphabet (- and _, no = in encoded output)

Scope and limitations

  • Base64 is not encryption. Decoded text must be valid UTF-8; use the file converter for binary data.

Common mistakes

  • Standard and URL-safe alphabets differ. A non-UTF-8 error is not valid decoded text.

Related tools

Base64 file converter URL encode / decode

Privacy and browser support

Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.