Skip to content
ToolInstant

HAR to Locust Script Converter

Local

Convert a HAR recording into a Locust locustfile.py: HttpUser, SequentialTaskSet, headers, bodies, catch_response checks, think time and correlation hints.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Software testing tools · Free · No upload · No sign-up

How to use the har to locust script converter for free

  1. 1Open a HAR recorded in DevTools or with Playwright.
  2. 2Choose domains, static-file filters, grouping, think time and the script style.
  3. 3Download locustfile.py, review the CORRELATE comments and run it with locust -f.

Also useful for: har to locust, locustfile generator, convert har to locust, locust script from browser, python load test script generator, har to python.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this HAR to Locust converter free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

Which Locust version is the script for?+

Locust 2.x (HttpUser, SequentialTaskSet, catch_response). Users, spawn rate and run time are given on the command line; a matching command is in the header comment.

Can I use this to load-test any website?+

Only load-test systems you own or have written permission to test. ToolInstant never sends any load itself — it only reads files and writes scripts in your browser.