Updated Jul 15, 2026

Utilities

Pull domains, paths, or params from URL lists

Extract one URL component per run.

Agent

overview

What xurl does

xurl takes a file of URLs via --input and emits one component: domains, apexes, paths, query, params, values, or a custom format string. Fixed modes cover common reshapes; format mode builds a line when they do not.

Reach for it between a crawler or archive dump and a fuzzer when you need parameter names, unique apexes, or paths alone. Add --unique so downstream stages get a deduplicated column instead of a messy URL dump.

Trickest runs xurl as a managed Utilities node. Wire FILE in, take FILE and FOLDER out. Prefer unfurl when you want the same job with a different mode set; use katana or gau when you still need to collect the URLs.

source github.com/hueristiq/xurl

use cases

Where xurl fits

Extract parameter names for fuzzing

Run params mode over a URL set to get a clean list of parameter names, the exact input a parameter fuzzer or value tester wants next.

Isolate apex domains for scoping

Use apexes mode to reduce a pile of URLs to their root domains, deduplicated, so you can scope or group work by organization.

Pull paths for content discovery

Extract the paths from collected URLs to seed a content-discovery wordlist tailored to how the target structures its routes.

Reshape output with a format string

Use format mode to assemble a custom line from URL parts when none of the fixed modes produces the exact shape the next tool expects.

reference

xurl inputs and flags

6 inputs
NameTypeFlagDescription
modeSTRING·Mode: domains, apexes, paths, query, params, values, or format.
inputFILE--inputInput file of URLs.
format-stringSTRING·Format string used in format mode to build custom output.
uniqueBOOLEAN--uniqueOutput unique values only.
verbositySTRING--verbosityLog level: debug, info, warning, error, fatal, or silent (default info).
monochromeBOOLEAN--monochromeDisable output content coloring.

Showing key inputs. xurl exposes 6 inputs in total.

example

Run xurl

xurl · command
# xurl: unique hostnames from a crawl dumpxurl domains --input urls.txt --unique
sample output
example.comwww.example.comapi.example.comstaging.example.comcdn.example.commail.example.comdev.example.comapp.example.com

guidance

Choosing xurl

Use xurl when a stage already produced URLs and the next tool needs one clean component: params for fuzzing, apexes for scoping, or paths for content discovery. It does not fetch URLs. Collect first with katana or gau, then reshape here. Prefer unfurl if you already standardize on that CLI.

unfurl

Same URL-component extract job. Pick by mode names and format syntax you already use.

gau

Passive URL collection from archives. Feed its output into xurl when you need parts, not full URLs.

faq

xurl questions

One mode per run: domains, apexes, paths, query, params, values, or a custom string in format mode.

Run xurl yourself

A file of URLs feeds xurl, which extracts one component, here the parameter names, and writes the clean, deduplicated list as an output for the next stage.

Facts on this page come from the live Trickest tool library.