Parse any URL into its components. Edit parts to rebuild. Encode/decode URL components.
Edit any field above, then rebuild to get the modified URL.