Hongmu Notes

🚪 Escape encoding and decoding

Enter the text to get the %XX / %uXXXX encoding string. Enter the encoding string to restore the original text.

Escape encoding and decoding

Instructions for use

  • Encoding: Alphanumeric and @ * _ + - . / remain as they are, and the rest are converted to %XX or %uXXXX
  • Decoding: Restore %uXXXX and %XX into characters, which can be verified back and forth
  • Encoding is not encryption: no key is required, anyone can restore it, do not use it to store sensitive information

Escape decoding batch conversion

What needs to be processed is often the entire paragraph of content rather than a single word. The key to batch conversion is that the line structure is not lost and the results can be taken away as a whole paragraph.

Three steps for batch scenarios

After pasting the entire paragraph, click the encoding button once

Check whether the beginning and end of the result are consistent with expectations, and then click copy to take it away.

Processing of line breaks and indentation

Line feeds, carriage returns and spaces will be escaped and retained

The paragraph and indentation structures remain unchanged after decoding

Length and performance

Each Chinese character is expanded to 6 characters. Please pay attention to the upper limit of the field for long articles.

The conversion is processed character by character and can be completed quickly even with thousands of words.

Results verification method

Check whether the beginning fragment corresponds to the first character

Check whether the ending fragment is complete and not truncated

The difference from single processing

Single processing is suitable for checking details, and batch processing is suitable for preparing the entire section.

The results of the two methods are completely consistent

All keywords and tutorials 12

❓ FAQ

Can it handle texts of several thousand words?
Can. The conversion is performed character by character, and can be completed quickly even with thousands of words, and it mainly takes time to display on the page.
Are the batch results consistent with the item-by-item results?
consistent. The output of splicing after encoding one by one is exactly the same as encoding the entire segment at once, which can be selected as needed.
Can I encode multiple lines of text at once?
Can. Just paste the entire paragraph. Line breaks will be encoded into a form such as %0A and retained in the result. After decoding, the paragraph structure will be restored to its original state.