Edit a URL

Paste a URL, change any part of it, and copy the rebuilt address. You can edit the protocol, host, pathname and hash, and add, change or remove query parameters. URLs that contain a username or password are rejected. A trailing slash on an origin-only URL is preserved when it was in the input.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to edit a URL

1. Paste a complete URL, such as `https://example.com/path?q=1#top`. 2. Change the fields or the query list. 3. Copy the new URL.

Switching the protocol from `http` to `https`, or adding a query key, is a typical edit. Empty parameter keys are dropped when the URL is rebuilt.

Privacy and limits

The URL is parsed in this tab and is not fetched or uploaded. The input must be a valid absolute URL; a relative path without a scheme will not parse. Do not paste addresses that contain secrets in the query string if someone else can see your screen.

Frequently asked questions

Why is my URL rejected?

It may be missing a scheme (such as `https://`), be malformed, or include a username and password, which this editor does not support.

Is the URL uploaded or opened?

No. It is only parsed and rebuilt in the browser.

Can I add or remove query parameters?

Yes. Each parameter has a key and a value. Keys that are blank after trimming are omitted from the result.

Will a trailing slash on the domain be kept?

On an origin-only URL (no path beyond `/`), a trailing slash is kept if it was in what you pasted.

More Text Tools