広告が嫌いですか? 行く 広告なし 今日

HARをPostmanコレクションに変換

データ開発者ネットワーキング

または

Collection Options

フィルター

Cleanup

Upload or paste a HAR file to convert it to a Postman Collection.

ガイド

HAR to Postman Collection Converter

HARをPostmanコレクションに変換

Browser DevTools, Charles Proxy and mitmproxy all let you save captured traffic as a HAR (HTTP Archive) file, but Postman cannot import HAR directly. This converter rewrites a HAR export into a Postman Collection v2.1 JSON file in your browser, so you can replay every captured request as a real Postman call — headers, query string, body and example response included.

使用方法

  1. Export traffic from Chrome / Firefox / Edge DevTools (Network tab → right-click → “Save all as HAR with content”) or from Charles, Fiddler, mitmproxy, Insomnia.
  2. Drop the .har file onto the uploader or paste the JSON into the text area.
  3. Pick how to group requests — by hostname, by first path segment, or no folders.
  4. Optionally filter out static assets, non-API requests or specific status / method codes.
  5. クリック コピー to copy the Postman Collection JSON, or Download .json to save it as name.postman_collection.json.
  6. In Postman, choose File → Import and drop the file (or paste the JSON as raw text).

機能

  • Postman Collection v2.1 output – Generates collections that import cleanly into Postman, Insomnia, Bruno, Hoppscotch and any other tool that speaks the v2.1 schema.
  • Smart grouping – Choose between folders per hostname, folders per first path segment, or a single flat list of requests.
  • Powerful filters – Drop static assets (CSS, JS, fonts, images, media) in one click, or narrow down to a single method, status tier or substring of the URL.
  • Authorization → {{token}} – Replaces every Authorization header value with a Postman variable so the JSON is safe to share with teammates.
  • {{baseUrl}} promotion – Detects the most common scheme + host in your capture and rewrites every request URL to {{baseUrl}}/..., making it trivial to retarget the collection at staging or production.
  • HTTP/2 cleanup – Strips pseudo-headers (:method, :authority, :path, :scheme) and the Cookie header by default, so the imported requests fire correctly from Postman.
  • Example responses included – Every imported request carries the captured response body and headers as a Postman example, so mock servers and tests work out of the box.
  • 100%クライアントサイド – HAR files often contain authentication tokens and PII. Conversion happens entirely in your browser; nothing is uploaded to a server.

よくある質問

  1. What is a HAR (HTTP Archive) file?

    HAR is a JSON-based open standard for archiving HTTP traffic. The W3C Web Performance Working Group defined it so different browsers and tools could share captures of network activity. A HAR file contains a top-level log object with pages metadata and an entries array — one entry per request, each with request, response, timings and serverIPAddress fields.

  2. What is a Postman Collection v2.1?

    Postman Collection v2.1 is the JSON schema Postman uses internally to represent a folder of saved requests. It supports nested folders, request bodies in multiple modes (raw, urlencoded, form-data, file, GraphQL), example responses, environments and variables. The schema is published at schema.getpostman.com/json/collection/v2.1.0/collection.json and is supported by every modern API client.

  3. Why are :method, :path and similar headers stripped?

    These are HTTP/2 pseudo-headers that browsers emit at the protocol layer instead of as real HTTP headers. They are not valid HTTP/1.1 header names and Postman cannot send them on an outgoing request. Including them would cause the imported requests to fail with header validation errors.

  4. Why replace Authorization with a Postman variable?

    HAR captures contain the exact bearer tokens and session cookies that were valid at capture time. Sharing that JSON exposes those secrets. Postman variables (the {{token}} syntax) defer the actual value to an environment, so the collection can be shared in a repository while every developer fills in their own credentials.

  5. Why are response bodies sometimes missing in HAR exports?

    The HAR specification makes the content.text field optional. Chrome and Firefox omit response bodies for binary assets and very large responses by default, and tools like Charles often require an explicit setting to record bodies. When the field is absent the converter still imports the request and headers — only the example response body is left empty.

広告なしで楽しみたいですか? 今すぐ広告なしで

拡張機能をインストールする

お気に入りのブラウザにIOツールを追加して、すぐにアクセスし、検索を高速化します。

に追加 Chrome拡張機能 に追加 エッジ拡張 に追加 Firefox 拡張機能 に追加 Opera 拡張機能

スコアボードが到着しました!

スコアボード ゲームを追跡する楽しい方法です。すべてのデータはブラウザに保存されます。さらに多くの機能がまもなく登場します!

ニュースコーナー 技術ハイライト付き

参加する

価値ある無料ツールの提供を継続するためにご協力ください

コーヒーを買って