HAR to Postman Collection Converter
Convert a HAR (HTTP Archive) file into a Postman Collection v2.1 — grouped by host or path, with cookie/auth cleanup and a promoted {{baseUrl}} variable.
Input
Collection Options
Filters
Cleanup
Output
| Metric | Value |
|---|---|
| No data yet | |
Guides
What does this tool do?
It converts a HAR (HTTP Archive) network capture into a Postman Collection (schema v2.1) — ready to import directly into Postman, complete with folders, example responses, and reusable variables.
How this tool works
- Paste HAR JSON into the input box, or upload a
.harfile. - Name your collection and choose how to group requests: by hostname (one folder per domain), by first path segment (one folder per API area, e.g.
/users,/orders), or as a flat list. - Optionally filter by search term, method, status class, or content type before converting.
- Configure cleanup: strip
Cookieheaders, replaceAuthorizationvalues with a{{token}}variable, strip HTTP/2 pseudo-headers, and promote each request's scheme + host into a shared{{baseUrl}}collection variable.
The Summary shows how many requests were included and which base URL (if any) was promoted to a variable. The Postman Collection output is ready to save as .json and import straight into Postman, Insomnia, or any tool that reads the v2.1 collection format.
Why promote a {{baseUrl}} variable
Hardcoding the full URL into every request means switching environments (staging vs. production) requires editing every single request. Promoting the most common scheme://host combination in your capture to a {{baseUrl}} collection variable lets you swap environments by changing one value — the standard Postman pattern for environment-portable collections.
Example responses
Each converted request includes its captured response as a saved example — status code, headers, and body — so opening the collection in Postman shows you not just what was sent, but what came back, without needing to replay the request.
Common uses
- Turning a captured browser session into a reusable Postman collection for API testing
- Documenting an undocumented API by capturing real traffic and converting it
- Sharing a working set of API calls with a teammate who prefers Postman over raw HAR
- Building a starter collection for a new integration from real recorded requests
Privacy
This tool runs entirely in your browser. Your HAR file is never uploaded to a server.