Skip to main content

Encode UTF-8 text such as Chinese and emoji into Base64 or Base64URL, or strictly decode it back to text. Supports Chinese examples, one-click copying and reverse conversion of results as input.

Only handles UTF-8 text, not files or arbitrary binary decoders. Reject illegal padding, illegal tail bits, and invalid UTF-8.

12 / 100,000 characters

Shortcut key: Ctrl/⌘+Enter. Modifying inputs or options clears old results.

Instructions for use

  1. Select encoding or decoding, and standard Base64 or Base64URL.
  2. Paste the text and click Process; if you are not sure about the format, try the Chinese decoding example first.
  3. Copy the output, or click Reverse Conversion to check the original text.

Input and output examples

Example input
你好
Example output
5L2g5aW9

This is the standard Base64 representation of UTF-8 text, not the result of encryption.

FAQ

No. Base64 is a directly decryptable encoding that does not require a key and should not be used to protect passwords or personal information.

This page only decodes valid UTF-8 text, not an arbitrary binary file decoder. Illegal padding, tail bits, and invalid UTF-8 are rejected.

Calculation basis and reference materials

Convert the text to UTF-8 bytes and then represent it according to the standard Base64 or Base64URL alphabet; decoding checks the format and UTF-8 validity. This page does not output images or arbitrary binary files.

Content check: · About this site and content description

Related tools