HAR to Postman Collection Converter
Convert HAR files to Postman Collection v2.1 JSON for API testing.
Free online HAR to Postman collection converter for QA engineers, frontend developers, and API testers. Export an HTTP Archive (.har) recording from Chrome DevTools, Firefox, Charles Proxy, or Fiddler, and instantly convert all captured network traffic into a Postman Collection v2.1. Automatically organizes requests into folders grouped by host domain or URL path segments, intelligently deduplicates identical HTTP calls, preserves query strings, headers, and POST JSON payloads. Runs entirely in your browser without uploading network logs to external servers.
Keywords: har to postman, har to postman collection, har file to postman, convert har to postman, har postman collection online, http archive to postman, har file converter, chrome devtools har to postman, postman collection from har, network traffic to postman
Tags: har, postman, collection, http, converter, network
Popular Network tools
- IP LookupLook up geolocation, network, and security details for any IP address.
- DNS LookupLook up DNS records for any domain — A, AAAA, MX, TXT, NS, SOA, SRV, CAA, and more.
- Webhook TesterGenerate a unique URL, capture webhook requests, inspect headers & body, and replay them.
- WebSocket TesterConnect to WebSocket endpoints (ws:// or wss://) in real time to inspect frames, measure latency, test heartbeats, and debug payloads.
- Redirect CheckerTrace URL redirect chains and detect 301, 302, 307, and 308 redirects.
How to HAR to Postman Collection Converter Online
Open your browser DevTools (F12), go to the Network tab, and perform the API interactions you want to capture.
Right-click anywhere in the Network tab and select "Save all as HAR with content" (Chrome/Edge) or "Save All As HAR" (Firefox).
Paste the HAR file content into the input panel, or upload the .har file directly.
Configure grouping options: by domain, by URL path, or flat list. Optionally enable request deduplication.
Click "Convert" or press ⌘↵, then download the .postman_collection.json file and import it into Postman.
HAR to Postman Collection Converter Features
Supports HAR 1.2 specification format exported by Chrome, Firefox, Edge, and Safari DevTools
Outputs Postman Collection v2.1 format for direct import into Postman desktop or web
Groups requests by domain, URL path segments, or keeps them as a flat list — your choice
Optional request deduplication removes identical URL+method combinations, keeping the most recent
Preserves all request headers, including custom headers (filters out pseudo-headers like :path, :method)
Handles POST body formats: application/json, application/x-www-form-urlencoded, and multipart/form-data
Extracts query parameters from URLs and maps them to Postman query param fields
Filters out browser-internal requests (chrome-extension://, data:, about:) automatically
Runs entirely in your browser — your HAR data (which may contain tokens/cookies) is never uploaded
Keyboard shortcut ⌘↵ to convert, ⌘⇧C to copy the collection JSON
In-Depth Technical Guides
All GuidesAutomating API Contract Testing: Converting OpenAPI 3.1 to Postman Collections
Transform OpenAPI (Swagger) specifications into executable Postman Collections (v2.1). Automate contract testing, generate mock servers, and streamline API integration.
HAR File Analysis: How to Diagnose Slow API Endpoints & Network Bottlenecks
A practical guide to analyzing HTTP Archive (HAR) files, decoding network timing waterfalls, identifying high TTFB, and debugging slow REST and GraphQL APIs.
Related Standards & RFC Specifications
All StandardsPre-built Automation Pipelines
Chain HAR to Postman Collection Converter with other utilities in a multi-step visual workflow.
Base64 Decode → JSON Format
Decode a Base64 string and pretty-print the JSON inside it.
CSV → JSON → YAML
Convert CSV data to JSON, then to YAML format.
JSON Format → TypeScript Schema
Format JSON and generate TypeScript/Zod schema from it.
Example Input & Output
Sample ReferenceInteractive Example: HAR to Postman Collection Converter in ActionShow example
Sample Input (text)
{
"log": {
"version": "1.2",
"creator": {
"name": "DevFlow",
"version": "1.0"
},
"pages": [
{
"startedDateTime": "2024-01-01T00:00:00Z",
"id": "page_1",
"title": "API Test",
"pageTimings": {}
}
],
"entries": [
{
"startedDateTime": "2024-01-01T00:00:01Z",
"time": 150,
"request": {
"method": "GET",
"url": "https://api.example.com/users",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept",
"value": "application/json"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"cookies": [],
"content": {
"size": 100,
"mimeType": "application/json",
"text": "[{\"id\":1,\"name\":\"Alice\"}]"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 100
},
"cache": {},
"timings": {
"send": 0,
"wait": 140,
"receive": 10
}
},
{
"startedDateTime": "2024-01-01T00:00:02Z",
"time": 200,
"request": {
"method": "POST",
"url": "https://api.example.com/users",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer token123"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 50,
"postData": {
"mimeType": "application/json",
"text": "{\"name\":\"Bob\",\"email\":\"[email protected]\"}"
}
},
"response": {
"status": 201,
"statusText": "Created",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"cookies": [],
"content": {
"size": 60,
"mimeType": "application/json",
"text": "{\"id\":2,\"name\":\"Bob\"}"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 60
},
"cache": {},
"timings": {
"send": 5,
"wait": 185,
"receive": 10
}
}
]
}
}Sample Output
[Processed output for HAR to Postman Collection Converter]
Input transformed successfully using har to postman, har to postman collection, har file to postman.What happened:
Convert HAR files to Postman Collection v2.1 JSON for API testing.
Frequently Asked Questions
- How do I export a HAR file from Chrome?
- Open Chrome DevTools with F12 or Ctrl+Shift+I. Click the Network tab. Perform the API calls you want to capture. Right-click anywhere in the request list and select "Save all as HAR with content". This saves a .har file containing all recorded network requests.
- What is a HAR file?
- HAR (HTTP Archive) is a JSON-based format that records all network requests made by a browser session. It includes request URLs, methods, headers, bodies, response status codes, timings, and cookies. It is used for performance analysis, debugging, and — as with this tool — converting to API collections.
- How are duplicate requests handled?
- When deduplication is enabled, requests with the same HTTP method and URL path (ignoring query parameter values) are de-duplicated, keeping the most recent occurrence. This is useful for HAR files recorded during navigation that may include repeated polling requests.
- Can I add test assertions to the generated collection?
- The converter generates a clean Postman collection without test scripts. After importing into Postman, you can add test scripts, pre-request scripts, and assertions manually in the Postman editor. For automated test generation, use Postman's built-in test script generator.
- How do I import the collection into Postman?
- Download the .postman_collection.json file. Open Postman and press Ctrl+O (Cmd+O on Mac) or go to File → Import. Select the file — Postman will create a new collection with all requests organised into folders based on your chosen grouping.
- What about cookies and sensitive tokens in my HAR file?
- HAR files often contain session cookies, auth tokens, and other sensitive data. This converter runs entirely in your browser — your HAR content is never sent to any server. After conversion, replace sensitive values in your Postman collection with environment variables before sharing.
- Is this the same as converting from an OpenAPI spec?
- No. HAR-to-Postman captures real observed traffic — actual requests your browser made, with real headers and bodies. OpenAPI-to-Postman converts a formal API contract into example requests. HAR conversion is better for reverse-engineering undocumented APIs or capturing complex authentication flows.
- Is my HAR data safe to paste here?
- Yes. All processing happens locally in your browser using JavaScript — no HAR content is transmitted to any server. This is important because HAR files can contain authentication tokens and session cookies.
Related Developer Tools
- HAR Analyzer & Request ReplayAnalyze HAR files, inspect slow/failed requests, generate replayable curl/fetch code.
- OpenAPI to Postman Collection ConverterConvert OpenAPI/Swagger specs to Postman Collection v2.1 JSON.
- cURL to Code ConverterConvert cURL commands to idiomatic code across 14 programming languages instantly.
- API Request BuilderBuild and test HTTP API requests with headers, body, auth, and response visualization.
- HTTP Headers AnalyzerAnalyze HTTP response headers for security, caching, and compliance issues.