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, each with its own copy button.

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 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.

Sort the lines of a text alphabetically, naturally, by length, by numeric value or shuffled. Reverse the order with a switch, and optionally trim lines, drop blank lines and remove duplicates in the same pass.

Convert a color between HEX, RGB, HSL, HSV, HWB, CMYK, OKLCH and OKLAB. Type into any field and the others update as you go, or pick the color visually. Reads CSS color syntax and keeps alpha where the format supports it.

Check two colors against the WCAG contrast rules. Type or pick a text and a background color, read the contrast ratio, see which AA and AAA checks pass, preview real text at the sizes WCAG distinguishes, and get suggested fixes when a check fails.

Create a QR code for text, a link, an email, a phone number, an SMS, Wi-Fi access or a contact card. Set the error correction level, size, margin and colors, then download it as PNG or SVG or copy it straight to the clipboard.

Paste a cron expression and get a plain English explanation, a field by field breakdown and the next times it would run, in your local timezone or UTC. Reads five field crontab syntax, six fields with seconds, names like MON and macros like @daily.

Work out an IPv4 or IPv6 network from an address with a prefix or netmask: network and broadcast addresses, usable host range, subnet mask, wildcard mask and address type. Adjust the prefix with a slider, read the binary breakdown, and split the network into smaller subnets.

Hash text or a file with MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, BLAKE3, CRC32 and more, all computed live as you type. Compare against an expected checksum and copy any digest.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.

Encode text for use in URLs or decode percent-escaped strings back to readable text. Choose component, full-URL or form encoding, unwrap double-encoded strings, and break a URL into its parts with every query parameter decoded.

Convert Unix timestamps in seconds, milliseconds, microseconds or nanoseconds to readable dates in your local time, UTC or any timezone, and turn any date back into a timestamp. Shows the live current timestamp and relative time.

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.

Paste a JSON Web Token to see its header and payload as formatted JSON, with the token color coded so each part maps to its output. Explains the registered claims, shows expiry as readable dates, flags expired tokens and can verify the signature with a secret or public key.

Compress text or a file with gzip, deflate, brotli or Zstandard and see the size before and after, the compression ratio and how long it took. One click tries every method and recommends the smallest result.

Decompress gzip, deflate, brotli or Zstandard data from a file or pasted Base64 and read the result as text or download it. Detects the format from the magic bytes where possible, with a manual override.

Paste anything that looks encoded and this tool works out what was used and undoes it, layer by layer. The whole BaseXX family from Base16 to Base85, binary, URL escapes, HTML entities, ROT13 and gzip, Brotli or Zstandard compression are detected in any combination, and every step of the chain is reported.

Escape or unescape a string for JSON, JavaScript, regex, shell, SQL, CSV, XML and more. Paste text, pick the target format and copy the result, in either direction.

Paste a PEM certificate to see its subject, issuer, validity dates, subject alternative names, key details, fingerprints and extensions in plain view.

Paste a 2FA secret or an otpauth:// link and watch the one-time codes tick live, with a countdown to the next code. Supports the digit counts, periods and algorithms real authenticators use.

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.

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.

Test a regular expression against your own text and see every match highlighted as you type. Capture groups are color coded in the pattern, the matched text and the match list, so you always see which parentheses captured what. Toggle any JavaScript regex flag, read the exact error when a pattern is invalid, and copy all matches as a list.

Split a long text into numbered posts that fit a character limit. Pick a preset for X, Threads, Mastodon or Bluesky or set your own limit, choose the numbering style, and keep words or paragraphs intact. Copy each post on its own or all at once.

Build a Markdown table in a spreadsheet-like editor and copy the aligned result. Add, move and delete rows and columns, set per-column alignment, and paste cells straight from Excel, Google Sheets or CSV. The output stays neatly padded so it reads well as plain text.

Turn any text into a clean URL slug. Transliterates accents and non-Latin scripts to ASCII, with options for the separator, letter case and a length limit. Handles many titles at once, one line per slug.

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.

Inspect any file or text as a hex dump with offsets, byte values and an ASCII column. Jump to an offset, search for bytes or text, select a range to see it decoded as integers and strings, and copy or download the dump.

Look up any HTTP status code in a searchable, filterable table. Search by number or name, filter by class from 1xx to 5xx, and expand any code for a plain explanation and a link to the spec. Includes the common non-standard codes from nginx, Cloudflare and others.

About the URL Parser

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.