Extract URLs

Paste any text and pull out every http/https URL — validated, deduplicated, optionally split into scheme, host, path, query and fragment. Runs in your browser; nothing is uploaded.

URLs

About this tool

Extract URLs scans a block of text and pulls out every http/https URL it contains — validated, deduplicated, and in first-seen order. Tick Split into components to also break each URL into its scheme, host, port, path, query, and fragment.

Everything runs locally in your browser via WebAssembly — your text is never uploaded.

Handy for

FAQ

Does it pick up links without http://, like www.example.com?

No. Only http:// and https:// URLs are matched — a bare www.example.com or an ftp:// address is ignored. This keeps the results high-precision: every candidate is also run through a real URL parser, so malformed matches are dropped rather than guessed at.

What happens to punctuation stuck to the end of a URL?

Trailing prose punctuation — ., ,, ;, :, !, ? — is trimmed, so "visit https://example.com/page." extracts https://example.com/page. URLs wrapped in parentheses or square brackets come out without the brackets.

If the same link appears several times, do I get it more than once?

No — the list is deduplicated. Each unique URL appears once, in the order it was first seen in the text, and the tool reports the total count alongside the list.

What exactly does "Split into components" break out?

For every extracted URL it lists the scheme, host, port, path, query, and fragment separately — handy when you want to audit which hosts are referenced or compare query parameters across links.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool extract-urls "Paste text containing URLs…"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/extract-urls/?text=Paste%20text%20containing%20URLs%E2%80%A6&split_components=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.