Local JSON Converter

ChatGPT Session Converter

CPA sub2api Cockpit 9router Codex AxonHub Codex-Manager
Browser-local parsing Tokens never uploaded History stays in this browser Open source code

Session JSON / Refresh Token

Paste a ChatGPT Web session, AT-only JSON, card-export TXT, or one or more JSON files.

Get session data here

Log in to ChatGPT in your browser, open https://chatgpt.com/api/auth/session , copy the full JSON shown there, and paste it below. AT-only JSON, sub2api account JSON, and card-export TXT are also supported.

OpenAI limits using Web sessions to bypass Codex OAuth add-phone verification; this page only converts formats.

This JSON contains accessToken and sessionToken, which are sensitive login credentials. Do not share them.

When exchanging an RT, the browser sends the Refresh Token only to OpenAI's official OAuth endpoint. It does not pass through this site and is not saved in browser storage.

Waiting for input.

Conversion result

Current output: sub2api import JSON.

This page only converts formats and cannot bypass Codex OAuth add-phone verification. ChatGPT Web sessions usually do not contain `refresh_token`; when a real `id_token` is missing, CPA, Cockpit, Codex, and AxonHub create Codex-parseable placeholder JWT claims. Codex and Codex-Manager keep an empty `refresh_token`; AxonHub writes a placeholder when a real `refresh_token` is missing.

0
Accounts
sub2api
Output format
0
Skipped
Concurrency

The 401/402/403/503 probe requests api.openai.com/v1/me directly from your browser, not through this site. It checks JWT expiry locally first, then recognizes expired tokens, workspace quota errors, forbidden access, upstream outages, and temporary network/rate-limit errors.

Name Email Expires 401/402/403/503 probe
No convertible accounts yet.
No output yet.

Conversion history

Every stable conversion is saved locally with its before and after content.

0

History is stored only in this browser. It may contain session tokens; delete it on shared computers.

No conversion history yet.