URL Components
Paste a request. See it, change it, send it.
A request workbench for iPhone, iPad and Mac. Paste a URL or a cURL command and see every part of it: scheme, host, path, query, headers, cookies and body. Change any of them, then copy the result as Swift, cURL or JavaScript.
Free on iPhone, iPad and Mac. Requires iOS 17 or macOS 14.
In your browser
Paste a URL. See every part.
This is the app’s parser, running on this page. Nothing you paste leaves your browser.
Runs in your browser. Nothing you paste is uploaded.
This is a valid URLwith 1 note
https://api.example.com:8443/v1/search?q=swift&tag=ios&tag=mac#results
Parts
- Schemehttps
- Hostapi.example.com
- Port8443
- Path/v1/search
- Queryq=swift&tag=ios&tag=mac
- Fragmentresults
Query items (3)
| Name | Value (decoded) | Copy |
|---|---|---|
| q | swift | |
| tag | ios | |
| tag | mac |
Notes
- WarningDuplicate query parameter: “tag”
Edit
Change one part. The rest follows.
Every part of a URL is its own field. Swap the host, fix a query value or add a header.
The full URL rebuilds as you type, so you can see the result before you copy it.
Scheme
https
Host
staging.example.com
Path
/v1/search
Query items
Canonical URL
https://staging.example.com/v1/search?q=swift&page=2
Generate
cURL in. Swift out.
Paste a cURL command from API docs or your browser’s network tab.
URL Components reads its method, headers, cookies and body, and writes the URLRequest for you. cURL and JavaScript are one tap away.
curl -X POST https://api.example.com/v1/users \
-H 'Authorization: Bearer YOUR_TOKEN' \
-d '{"name":"Ada"}'let url = URL(string: "https://api.example.com/v1/users")! var request = URLRequest(url: url) request.httpMethod = "POST" request.setValue("Bearer YOUR_TOKEN", forHTTPHeaderField: "Authorization") request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") request.httpBody = Data(#"{"name":"Ada"}"#.utf8)
Check
It notices what you’d miss.
A query name used twice. A link still on plain http. A path that climbs out with “..”.
Each one is flagged the moment you paste, before it becomes a bug report.
http://ada@example.com/a/../b?tag=1&tag=2
Details
Small app. Thought through.
Share sheet extension
Send a link from Safari, Mail or Messages straight to the inspector, without opening the app first.
Saved history
Keep the URLs you come back to. Search them, preview them, and send one back to the parser.
Convert
URL encoding, Base64, JWT, JSON, Unix time and hashes, on your device. Decode the token in a request’s header in one tap.
Three native apps
Request and response side by side on iPad, stacked on iPhone, and a native app on the Mac.
Your URLs stay yours
Parsing happens on your device. The links, tokens and cookies you inspect are never uploaded.
Free to use
No ads, no account and no time limit. Everything on this page so far costs nothing.
Pro
Pay once. Finish the job.
Everything above is free. Pro is one optional purchase, with no subscription, for when inspecting a request isn’t enough.
Send the request
Run the request from your device and see the status, headers, timing and the formatted response.
Six more languages
Copy the same request as Swift async/await, Alamofire, Python, Kotlin, Go or HTTPie.
Link Tools
Strip utm_, fbclid and other tracking parameters from a link, or build a tagged campaign link.
Pro is on iPhone and iPad today. The Mac app will follow, and the same purchase will cover it. If you bought “Support Development” in an earlier version, Pro is already yours.
Free web tools
Four tools. Nothing to install.
Parts of the app, opened up for the moments you’re not at your own machine.
- URL ParserBreak a URL into scheme, host, port, path, query items and fragment.
- cURL to SwiftTurn a cURL command into URLRequest code, async/await or completion handler.
- URL Encode / DecodePercent-encode and decode text, side by side.
- UTM BuilderAdd campaign tags to a link, or pull existing ones out to edit.
Web and app
The website is the sample.
The tools here cover the quick lookups. The app is where you do the work.
| Feature | Website | App |
|---|---|---|
| Break a URL into its parts | ||
| Flag insecure, duplicated and malformed parts | ||
| Percent-encode and decode | ||
| Turn cURL into Swift | ||
| Edit any part and rebuild the URL live | ||
| Inspect a cURL command’s headers, cookies and body | ||
| Copy as cURL and JavaScript too | ||
| Open links from the share sheet | ||
| Saved, searchable history | ||
| Decode JWTs, Base64 and timestamps; format JSON | ||
| Works with no connection | ||
| Build UTM campaign links | Pro | |
| Strip tracking parameters from a link | Pro | |
| Send the request and see the response | Pro | |
| Copy as Python, Kotlin, Go and three more | Pro |
Free on iPhone, iPad and Mac. Requires iOS 17 or macOS 14. Rows marked Pro need the one-time unlock.
Support
Have a question?
The app is made by one developer, and that’s who answers.
Using the app
Devices, the share sheet, cURL and restoring a purchase.
Read the answersYour privacy
What stays on your device, and the little that doesn’t.
Read the policySomething else
A bug, an idea, or a URL that parses wrong.
Send an email
The app
These tools, on every Apple device you own.
URL Components adds an editor that rebuilds the request as you type, a share sheet extension, a saved history, converters for JWT, Base64 and JSON, and Swift, cURL and JavaScript you can copy in one tap.
Free on iPhone, iPad and Mac. Requires iOS 17 or macOS 14.