$ python -c "urllib.parse.quote(...)"
URL Encoder / Decoder
Percent-encode or decode URLs and query string components, entirely in your browser.
Plain text / URL
Encoded / Decoded
Uses percent-encoding for query string components (spaces become %20). Runs entirely in your browser.