Encode and decode URLs and URI components
Encodes entire URLs, preserving special characters like :, /, ?, #
https://example.com/path with spacesEncodes all characters except A-Z a-z 0-9 - _ . ! ~ * ' ( )
name=John Doe&email=test@example.comhttps://example.com/search?q=hello world&lang=enhttps://example.com/search?q=hello%20world&lang=en