Transform reserved characters into valid percent-encoded text. Choose RFC modes, preserve lines, and inspect changes. Export clean results with examples, formulas, and practical steps.
| Input | Mode | Processing | Encoded Output |
|---|---|---|---|
| hello world | RFC 1738 | Whole Text | hello+world |
| a/b?x=10&y=20 | RFC 3986 | Whole Text | a%2Fb%3Fx%3D10%26y%3D20 |
| Zürich & Paris | RFC 3986 | Line-by-Line | Z%C3%BCrich%20%26%20Paris |
| 50% done | RFC 1738 | Whole Text | 50%25+done |
Core encoding rule: keep unreserved characters unchanged, and replace every other byte with a percent sign followed by its hexadecimal byte value.
RFC 3986 set: A-Z a-z 0-9 - _ . ~ remain unchanged. Spaces become %20.
RFC 1738 form style: A-Z a-z 0-9 - _ . remain unchanged. Spaces become +.
Byte transformation expression: for each unsafe byte b, output %HH, where HH = hex(b).
Size growth: Growth = Encoded Bytes - Original Bytes. Each encoded byte usually expands from one byte to three characters.
%XX sequences should stay intact.It converts reserved or unsafe characters into percent-based escape codes. This helps browsers, forms, and servers read spaces, symbols, and non-ASCII text consistently inside URLs.
Choose RFC 3986 when you need strict URI component encoding. It keeps tilde unchanged and converts spaces to %20, which is common for APIs and modern link handling.
Choose RFC 1738 for form-style submission behavior. It turns spaces into plus signs, which is often expected in classic query strings and application form processing.
Every unsafe byte usually expands to three characters such as %2F. Multibyte UTF-8 characters can expand even more because each byte becomes its own percent triplet.
It encodes each line separately and keeps visible line breaks between rows. Whole-text mode encodes newline bytes too, so line breaks become percent codes in the output.
This helps avoid double encoding. For example, an existing %20 can remain unchanged instead of turning into %2520, which is useful when text already contains encoded fragments.
Yes. UTF-8 bytes are encoded individually, so characters like ü, é, or Arabic letters become valid percent triplets that can travel safely through URLs.
You can copy the encoded text, download a CSV containing line details, or create a PDF snapshot of the result section for records, testing notes, or documentation.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.