Encode text as a URL component using UTF-8 percent escapes.
Worked example
Hello world & café → Hello%20world%20%26%20caf%C3%A9
Use the same settings when reversing the transformation. Coordinate-based methods may merge letters, discard punctuation or keep padding as described above.
Read the guide to choosing a method