Hongmu Notes

🅱️ Base64 encoding and decoding

Paste the text and click "Encode" to get the Base64 string, or paste the Base64 string and click "Decode" to restore the original text; supports Chinese and long text, and the entire process is completed locally in the browser.

Base64 encoding and decoding tools


Instructions for use

Put the original text or a ready-made Base64 string in the input box, click "BASE64 Encoding" to turn it into Base64, and click "BASE64 Decoding" to restore Base64 to the original text. The result will directly replace the content of the input box, so please copy and save the result of the previous step before changing the content. "Result generated" or the reason for failure will be given below the button and in the status line to help determine whether the conversion is successful.

✅ How to check the results

  • The encoding result only contains uppercase and lowercase letters, numbers and plus slashes, and there may be an equal sign at the end.
  • Decode the encoding result again to restore the original text, indicating that the process is correct.
  • When decoding does not produce a result, remove the spaces and newlines in the string and try again.

🔒 Data and privacy

Encoding and decoding are completed locally in the browser, and the input content does not go through the server and is cleared when the page is refreshed. Please remember that Base64 only encodes and does not encrypt. The result can be restored by anyone. Do not use it to protect passwords and keys.

Base64 decoder

I got a string of Base64 and wanted to restore it to the original text on the spot.

Usage

Open the page to use it, paste the string and click the decode button.

No installation is required and the content never leaves the machine.

Support content

Chinese, punctuation, expressions and multi-line content can be fully restored.

When the original text is binary data, it may appear garbled, which is normal.

When you can't solve it

Check to see if spaces are mixed in or characters are truncated.

Make sure the equal sign at the end is complete.

Result processing

The result will replace the content of the input box, and you can select and copy all.

When you need to re-encode, click the Encode button to return to the string.

Usage suggestions

Remove excess spaces and line breaks before pasting.

If the string is long, it is recommended to paste it into a text editor and check it again.

All keywords and tutorials 12

❓ FAQ

What should I do if the code is garbled?
Note that the original text may be binary data or images, and is not readable text.
Will the content be uploaded?
No. The conversion is done within the browser and the content never leaves the machine.
How to determine whether a string is Base64
Look at the character set: Base64 contains uppercase and lowercase letters and numbers 0 and 1; Base32 contains only uppercase letters and numbers 2 to 7.