"I have no Internet connection. How can I use Postman with my API running locally on my offline machine?" That's the opening of a Postman community thread from January 2025, now past 12,500 views. A later reply in it sums up the mood: "you need to be signed in to import an api, makes the client useless in an offline environment."
It isn't a one-off. The Stack Overflow question Postman removed offline mode (Scratch Pad) in new versions has close to 47,000 views. And in February 2026 someone asked on the forum whether there's any plan where collections stay off Postman's servers, because their security policy doesn't allow company data on outside servers.
We make Baton, an API client that keeps collections as YAML files in your own repository, so we have a stake in this. Baton isn't account-free either, and on one of the tests below it loses clearly to Bruno. Both are in here.
The short answer
Signed out, the Postman desktop app drops you into the lightweight API Client. It's more capable than people expect. You can build and send HTTP, GraphQL, gRPC, WebSocket, Socket.IO and MQTT requests, run post-response scripts, and keep a request history. Postman says that work "is stored locally and isn't synced online".
What you can't have signed out is collections. Postman's own sign-up page says it in one line: if you want to "organize requests into collections, or use other features, sign up for a free account and sign in". Environments and variables live in workspaces too, and switching to a workspace needs an account.
Postman 12 does have an offline story, but it starts with an account. During sign-up you can connect a local folder, and Postman says you can then "work with them offline in Local View". That's Native Git: collections as files next to your code, pushed to Postman Cloud when you choose. If a free account is acceptable and only the cloud copy worried you, look at that first.
If the problem is the account itself, here's where each tool stands:
| Sign-up needed | Collections without a connection | Where they live | |
|---|---|---|---|
| Postman, signed out | none | no, single requests and history | your machine |
| Postman 12, Local View | a Postman account | yes | a folder you connect, pushed to the cloud when you choose |
| Insomnia Scratch Pad | none (before you log in) | yes | your machine |
| Bruno | none (its docs) | yes | files in a folder you pick |
| Baton, desktop | no account; a free key, emailed to you, to send requests | yes | YAML files in your git repository |
Baton's row needs its fine print. There's no account, but the desktop and browser builds won't send a request until you paste in a free key, which the site emails to the address you register with. Editing, importing and git sync work without the key. The App Store and Google Play builds need no key at all. The key is checked offline against a public key built into the app, so once it's in, nothing calls home. If "no sign-up of any kind" is the rule you're working under, Bruno or the signed-out Postman client fits it and Baton doesn't.
If you're stuck offline today
Three things that work without installing a new client or creating an account.
Paste a curl command. Postman's staff suggested this in the thread: paste a curl command into the address bar of the lightweight client and it builds the request. It covers one request at a time, nothing more.
Run the exported collection with Newman. If you can still get a v2.1 export of the collection, the open-source Newman runner takes it with no account. We ran the public Restful Booker collection with its environment file:
npx newman@6.2.3 run Restful_Booker_Collection.postman_collection.json \
-e Restful_Booker_Environment.postman_environment.json \
--folder "Health Check"
❏ Health Check
↳ Ping the API
GET https://restful-booker.herokuapp.com/ping [201 Created, 751B, 533ms]
✓ Status code is 201
✓ Content-Type header is correct
That's a runner, not an editor. You still need something else to change the requests.
The Postman CLI on a local file. Postman's CLI docs say a command given a local path "reads or writes the element on disk. No authentication is required." Same limitation as Newman: it runs collections, you don't edit them there.
Moving the collection out: what an import keeps
The longer fix is a client that keeps collections as local files. One user in the Postman thread did exactly that: exported to v2.1 JSON and loaded it into Insomnia's Scratch Pad. The catch is that an import is a translation, and translations lose things. So we took two public Postman v2.1 collections and imported each into Baton's browser demo and into Bruno with its CLI, @usebruno/cli 4.4.0, on 30 November 2026.
- Restful Booker: 15 requests in 4 folders, a separate environment file, and Postman test scripts on every request.
- DocuSign's Connected Fields collection (MIT): 9 requests in 5 folders, OAuth 2.0 set on the whole collection, 11 collection variables, and heavy pre-request scripting for the auth setup.
In Baton it's the plus button, then Import OpenAPI / Postman…, then paste or pick the file. In Bruno:
npx @usebruno/cli@4.4.0 import postman \
-s Restful_Booker_Collection.postman_collection.json -o ./restful-booker
| Baton | Bruno CLI 4.4.0 | |
|---|---|---|
| Requests and folders | all of them | all of them |
| Method, URL, headers, body | kept | kept |
| Collection variables | kept | kept |
| Postman environment file | imported as an environment | not tested |
| Basic auth on a request | kept | kept |
| OAuth 2.0 set on the collection | not carried over | kept |
pm.* test and pre-request scripts |
dropped, with a count | translated to Bruno's bru.* API |
URL stored as parts, with no raw string |
host dropped | host kept, wrong scheme added |
| Body with Windows line endings | one escaped line | one escaped line |
The scripts row is the biggest gap. Baton's import ended with this message, for Restful Booker:
Imported "Restful_Booker_Collection" — 15 request(s). 15 request script(s) skipped — Postman pm.* scripts are not portable to the baton.* API.
Baton's manual says this is deliberate: scripts written for another client's API "are counted and left out". Deliberate or not, the effect is the same. Restful Booker's "Dynamically create a new booking" request fills seven body variables from a pre-request script. In Baton those seven stay unresolved until you rewrite the script, which is what the cover picture shows. Bruno rewrote the same script for you, and turned Postman's ping test into this:
test("Status code is 201", () => expect(res.getStatus()).to.equal(201))
If your collection leans on scripts, Bruno's import saves you real work and Baton's doesn't. Rewriting for Baton means mapping pm.test to baton.test, pm.response to baton.response, and pm.environment.set to baton.env.set. That's mechanical, but you do it by hand.
The collection-level OAuth 2.0 is the second loss. Bruno put the whole flow (authorization URL, token URL, client id and secret as variables) on the collection. Baton's collection file came out with the variables and no auth block, so you set it up again in the collection settings.
Two failures hit both tools. DocuSign's file stores URLs as host and path parts with no raw string. Baton kept the path and dropped {{authServer}}, leaving url: oauth/token. Bruno kept the host but wrote http://{{authServer}}/oauth/token, and that variable already starts with https://. Check your URLs after importing a generated collection.
And a fix you can apply before importing. Restful Booker's bodies use Windows line endings, and both tools wrote them as a single escaped string full of \r\n. That's unreadable in a diff. Normalise the file first:
sed -i 's/\\r\\n/\\n/g' Restful_Booker_Collection.postman_collection.json
Re-imported after that, Baton wrote the same bodies as ordinary multi-line YAML blocks. One cosmetic thing: Baton's sidebar listed the four folders alphabetically rather than in Postman's order.
What lands on your disk
This is what Baton wrote for the ping request and the environment:
# collections/restful-booker-collection/health-check/ping-the-api.req.yaml
format: 1
id: 0000PMK96B6Z96MQ60B0GA57AB
name: Ping the API
method: GET
url: "{{baseURL}}/ping"
body:
type: text
text: ""
# environments/restful-booker-environment.env.yaml
format: 1
name: restful-booker-environment
variables:
- name: baseURL
value: https://restful-booker.herokuapp.com
On the desktop builds that's a folder on your machine, and the app works with no connection. Committing works offline too, since the desktop builds use git directly. Push and pull need a route to your git host, whenever you have one. The browser build needs baton.dudko.dev to load, so it isn't an offline option.
Once the files are in git, the questions change. We've covered what a one-line change looks like in a diff, Postman export against Baton, and where API keys go when the collection is in a repository. When you import a Postman environment, values Postman marked as secret don't go into the file: Baton writes the name and keeps the value in the device's secure store, per its manual.
Where Baton is the wrong pick
- You want no sign-up at all. Sending a request in Baton's desktop or browser build needs the emailed key. Bruno needs nothing. Neither does Postman's lightweight client, if single requests are enough.
-
Your collection runs on scripts. Bruno translates
pm.*scripts on import. Baton drops them and tells you how many. - You use gRPC, MQTT or Socket.IO. Baton does REST, GraphQL and WebSocket. Postman's lightweight client covers all six of its types signed out, and Bruno supports gRPC.
- It's for work. Baton's free licence covers personal, non-commercial use only. Inside a company you write to the author for a licence. Bruno's open-source edition is $0, and the paid tiers start at $6 per user per month, billed annually.
- You need Postman's platform. Monitors, mocks in the cloud, workspaces shared across a large organisation. A free Postman account with Local View keeps the files local and still gives you those. We compared the wider field in Baton vs Bruno vs Yaak vs Postman.
Pick by the situation
- No account of any kind, just fire requests: Postman signed out, or curl.
- No account, collections as files, scripts carried over: Bruno.
- An account is fine, the cloud copy was the worry: Postman 12 with Local View.
- Collections as YAML in your own repo, offline on the desktop, on a phone too, and you'll rewrite the scripts: Baton. The demo runs in the browser with nothing to install, so you can import your own export into it and read the result before you decide.
Originally published at https://baton.dudko.dev/blog/postman-offline-without-account.
Top comments (0)