Convert Postman to a k6 load test
Paste your Postman collection and get a clean, runnable k6 script you can run in the cloud in seconds.
Everything you need to load test a real request
Paste a real request and get a k6 script that actually runs. No boilerplate, no signup, and your data never leaves the browser.
Paste and convert instantly. The k6 script is generated in your browser the moment you click, with no waiting.
Nothing is uploaded. Your request, headers and tokens never leave this page, so it is safe for internal APIs.
Cookies, tokens and auth headers are pulled into k6 __ENV variables instead of being hard-coded into the script.
Copy the k6 script into your project, or sign up free to run it as a real load test from multiple regions.
Load test your Postman collection
A Postman collection is a saved set of API requests, usually exported in the v2.1 format along with its variables and environments. Convert a Postman collection to k6 to reuse those requests as a JavaScript load test instead of running them one by one. It suits teams who already document their API in Postman and want to check how it holds up under concurrent traffic.
What the generated k6 script includes
- HTTP method and full URL
- All request headers
- Request body as JSON, form or raw
- Query parameters, correctly encoded
- Auth and tokens parameterised to __ENV
- Multiple requests grouped and ready to run
How it works
Writing k6 by hand vs this converter
See how much time and effort the converter saves compared with scripting k6 from scratch.
| Writing k6 by hand | This converter | |
|---|---|---|
| Time to first script | Hours of reading docs and writing | Seconds, just paste and convert |
| Headers, method and body | Easy to miss or mistype | Preserved exactly from your input |
| Secrets and tokens | Often hard-coded by mistake | Pulled into k6 __ENV variables |
| k6 knowledge needed | You must know k6 scripting | None, the script is ready to run |
| Cost | Free, but it costs your time | Free, runs in your browser |
Frequently asked questions
Is my data safe?
Yes. Conversion runs entirely in your browser in JavaScript. Your request, headers and secrets are never sent to our servers, so it is safe to use with internal or authenticated APIs.
What is k6?
k6 is a popular open-source load testing tool that runs scripts written in JavaScript. The scripts this converter generates run in k6 as they are.
Can I run the generated script?
Yes. Copy it into a .js file and run it with k6, or click Run in the cloud to sign up free and run it as a real load test from multiple regions.
How are secrets and tokens handled?
Authorization headers, cookies and API tokens are parameterized to k6 __ENV variables rather than hard-coded, so you can pass them safely at run time.
Which inputs are supported?
A cURL command, a HAR capture from your browser network tab, a Postman v2.1 collection, or an OpenAPI 3 or Swagger 2 spec. Multiple requests are converted together.