DevFlow logoDevFlow
ToolsPipelinesExploreDocsPricing
⌘F
DashboardPipeline BuilderAnalytics

Try Pro — Free 7 days

No credit card required

HAR to Postman Collection Converter Online — Free HAR File Converter

How to HAR to Postman Collection Converter Online

  1. 1

    Open your browser DevTools (F12), go to the Network tab, and perform the API interactions you want to capture.

  2. 2

    Right-click anywhere in the Network tab and select "Save all as HAR with content" (Chrome/Edge) or "Save All As HAR" (Firefox).

  3. 3

    Paste the HAR file content into the input panel, or upload the .har file directly.

  4. 4

    Configure grouping options: by domain, by URL path, or flat list. Optionally enable request deduplication.

  5. 5

    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

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 code in 12+ 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.