Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

URL Parser

Break a URL into scheme, host, port, path, query and fragment, and edit every part on its own. Query parameters become an editable table where you can change, add, remove and reorder values, with everything decoded for reading and the rebuilt URL ready to copy.

Everything runs locally in your browser. Your data never leaves your device.

Nothing parsed yet
Paste a URL above, or try the example, to see and edit its parts.

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the URL Parser Tool

This tool takes a URL apart and lets you edit every piece on its own. Paste an address and the scheme, username, password, host, port, path, query and fragment light up in their own colors, right inside the input. Each part gets its own field below, and changing one rebuilds the full URL live.

The query string becomes a table you can actually work with. Keys and values are percent-decoded for reading, duplicate keys stay in order, and you can change, add, remove and drag rows into a new order. The rebuilt URL is normalized and ready to copy.

What you can do

  • Split a URL into scheme, host, port, path, query parameters and fragment.
  • Edit query string parameters in a table, with add, remove and drag to reorder.
  • Remove tracking parameters like utm_source, fbclid and gclid with one click.
  • Sort query parameters alphabetically by key.
  • Read percent-encoded values decoded, or switch to the raw wire form.
  • See the Unicode form of a punycode xn-- host name.
  • Resolve a relative URL against a base URL.
  • Copy any single part, or the whole rebuilt URL.

How to use the URL Parser

  1. 1Paste a URL. Without a scheme, https:// is assumed, and a relative path just asks for a base URL.
  2. 2Read the color-coded parts in the input and edit any of them in the fields below.
  3. 3Work on the query table: change keys and values, drag rows to reorder, sort them, or strip the tracking parameters.
  4. 4Copy the rebuilt URL, or a single part with the button next to it.

Duplicate keys, plus signs and other query string quirks

A query string may repeat a key, and the order can matter to the server, so the table keeps every occurrence as its own row in its original position. A key without an equals sign stays a bare flag instead of gaining an empty value. Rows you never touch keep their exact original encoding when the URL is rebuilt, only edited rows are re-encoded.

Whether + means a space depends on where the query came from. Form submissions encode spaces as plus signs, but in a hand-written URL a plus can be a literal plus. The Read + as a space toggle switches between the two readings without changing the URL itself. For encoding or decoding a single value outside a URL, use the URL Encoder & Decoder.

What normalizing a URL changes

The rebuilt URL comes from the same parser browsers use, so it is normalized: the scheme and host turn lowercase, a default port like 443 on https is dropped, dot segments in the path collapse, and an international host name is stored in its xn-- punycode form. The tool shows the Unicode spelling of such a host next to the field so you can check you are on the domain you think you are.

Cleaned a link of its utm_ baggage and want to share it? The QR Code Generator turns the result into a scannable code, and the Slug Generator helps when you are building readable path segments for a new URL.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Format code in JavaScript, TypeScript, JSON, JSON5, HTML, Vue, CSS, SCSS, LESS, Markdown, YAML, GraphQL, XML and SQL. Pick tabs or spaces, set the indent width, and format the input in place with one click.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Escape text into HTML entities or decode entities back to plain text. Choose named or numeric entities, escape only the unsafe characters or everything outside ASCII, and read the result live.

Reveal the characters you can't see in a text: zero-width spaces, non-breaking spaces, bidi marks, control characters and CRLF versus LF line endings. Inspect every occurrence and clean them out with a click.