Extract Query Value from URL

Pull the value of any query parameter from a batch of URLs in one click. Paste your URLs, enter the parameter name once, and get clean decoded values for every line.

URLs to extract from

Paste one full URL per line. Set the parameter name in the option above.

Everything runs locally in your browser — nothing is uploaded.

Extracted valuesOne result per input URL. URL-encoded values are automatically decoded.

0 lines in0 lines outN/A runtime

Hundreds of URLs process in under a second on modern browsers.

How to extract a query parameter value

Extract in 3 steps

Takes ~5 seconds
  1. 1
    Set the parameter name

    Type the exact query parameter name (e.g. utm_source) into the option field above the input.

  2. 2
    Paste your URLs

    Add one full URL per line into the input box.

  3. 3
    Extract and copy

    Click "Extract Query Values" and copy the decoded values from the output.

Parameter names are case-sensitive — double-check capitalisation if you're seeing 'Not found' unexpectedly.

Who should use this tool?

  • Marketers auditing UTM parameters across campaign URLs
  • Developers debugging query strings in API or redirect URLs
  • Analysts pulling tracking values from URL lists exported from analytics platforms

Examples

Extract utm_source from a newsletter campaign URL.

Input
https://example.com/page?utm_source=newsletter&id=42
Output
newsletter

Extract utm_source from a URL that has no utm_source parameter.

Input
https://example.com/shop?id=99&ref=homepage
Output
Not found

Extract utm_source from a URL with an encoded value.

Input
https://example.com/blog?utm_source=hello%20world&id=7
Output
hello world

Extract query parameter values from URLs

Quickly isolate the value of any query parameter across a list of URLs without writing code or opening a browser console.

This tool lets you extract a specific query parameter from URLs in bulk. Set the parameter name once — such as utm_source, id, or ref — and it is applied to every URL you paste in. Values are URL-decoded automatically, and case-sensitive matching ensures you get exactly the parameter you expect. All processing runs locally in your browser with no data sent to any server.

Batch extraction

Process many URLs at once with a single parameter name applied to every line.

  • One URL per line
  • Single parameter name
  • Instant batch output
Accurate matching

Parameter names are matched exactly and case-sensitively so you get precise results.

  • Case-sensitive match
  • First occurrence used
  • URL-decoded output
Private by default

All extraction runs in your browser. Your URLs never leave your device.

  • No server upload
  • Works offline
  • No signup needed
Privacy first: we never send your input to a server. Everything runs locally in your browser.

Tips for accurate extraction

Get consistent results every time by following these guidelines.

  • Match the parameter name's capitalisation exactly — 'ID' and 'id' are different parameters.
  • Remove any trailing whitespace from pasted URLs to avoid missed matches.
  • If a parameter appears more than once in a URL, only the first value is returned.

Frequently asked questions

Why am I getting 'Not found' when the parameter is clearly in the URL?>
Parameter matching is case-sensitive. Check that the name in the option field exactly matches the capitalisation used in the URL — for example, 'UTM_Source' will not match 'utm_source'.
What happens if a parameter appears twice in the same URL?>
Only the value from the first occurrence is returned. Subsequent occurrences with the same name are ignored.
What is returned for a parameter that exists but has no value, like '?flag'?>
An empty string is returned, not 'Not found'. This distinguishes between a parameter that is absent and one that is present but has no assigned value.
Can I extract different parameter names from different URLs in the same batch?>
No — the parameter name option applies to every URL in the batch. To extract different parameters, run the tool separately for each parameter name.

Related URL tools