DEVELOPER · AmpCub developer helper
URL encode & decode
Safely encode query pieces, or decode them back to readable text.
Encode or decode query text with encodeURIComponent or encodeURI.
Local · no uploadWork area
Component mode encodes reserved characters. Full URI mode leaves them intact. + becomes a space when decoding in component mode.
Limits & privacy
- Input up to 500,000 characters. Invalid percent-sequences fail decode instead of silent repair.
- Local only — nothing is uploaded.
Frequently asked questions
Is a space encoded as %20 or +?
Always %20 here. In component mode, + is decoded back to a space.
When should I use encodeURIComponent?
For a single parameter value, a path segment, or a URL nested inside another URL.