All tools
ChatGPT Session converter
Turn a ChatGPT Session or similar login data into JSON that other tools can import.
A session or token is effectively the key to the account. Convert them only on your own device, and only for accounts you control.
Credential JSON
Reads: ChatGPT Web session / CPA / Cockpit / Sub2API / 9Router OAuth JSON / Codex auth.json / AxonHub auth.json / Codex-Manager JSON
Where to get the session
Log in to ChatGPT, then open https://chatgpt.com/api/auth/session, copy the whole JSON and paste it below.
Result
Below is JSON ready to import into Sub2API.
A ChatGPT Web session normally has no refresh_token. Without a real id_token, the CPA, Cockpit, Codex and AxonHub outputs get stand-in JWT claims that still parse; AxonHub also gets a stand-in refresh_token when there is no real one.
Output format
0
Accounts
0
Skipped
Name | Email | Expires at |
|---|---|---|
| Nothing to convert yet. | ||