Online Toolbox/Text/Text Encryption

Text Encryption

URL/Base64/MD5/SHA encryption and decryption.

输入文本

输出结果

编码/加密

Description

Text Encryption/Decryption tool provides multiple encoding and hash algorithms, including URL encoding, Base64 encoding/decoding, MD5/SHA1/SHA256 hash calculation, HTML entity encoding/decoding, and Unicode encoding/decoding.

Use Cases

1

URL parameter handling: Encode and decode URL parameters with special characters

2

Data transmission: Use Base64 encoding to transmit binary data in text protocols

3

Security verification: Use hash algorithms to verify data integrity

4

Web development: Handle HTML entity encoding and Unicode escapes

5

Data storage: Encode sensitive information before storage

Instructions

1

Enter text to process in the input box

2

Click the corresponding encode or decode button

3

View the processed result in the output area

4

Click "Copy" button to copy result to clipboard

Notes

  • MD5 and SHA series are hash algorithms, they can only hash, not decrypt
  • Base64 encoding is not encryption, it is only for data format conversion
  • URL encoding handles special characters without affecting normal letters and numbers

FAQ

Q

What is the difference between Base64 and URL encoding?

A

Base64 converts binary data to ASCII text format, commonly used in emails and data transmission. URL encoding converts special characters to % plus hexadecimal format for safe URL transmission.

Q

Is MD5 encryption secure?

A

MD5 has been proven to have collision vulnerabilities and is not recommended for security-sensitive scenarios (like password storage). For general data verification, MD5 can still be used. Consider using SHA-256 instead.

Q

Why did Base64 decoding fail?

A

Base64 decoding failure usually means the input is not valid Base64 format. Valid Base64 strings only contain A-Z, a-z, 0-9, +, /, and = characters, and the length must be a multiple of 4 (may need = padding).