explaingit

gtxx3600/gptsession2cpaandsub2api

Analysis updated 2026-07-03 · repo last pushed 2026-06-10

1,415JavaScriptAudience · ops devopsComplexity · 1/5ActiveSetup · easy

TLDR

A free browser-based tool that converts ChatGPT session files between different JSON formats used by API tools and proxy platforms. Everything runs locally in your browser, so credentials never leave your device.

Mindmap

mindmap
  root((repo))
    What it does
      Converts session JSON formats
      Runs in browser only
      No server or uploads
    Supported formats
      CPA and sub2api
      Cockpit Tools
      Codex and Codex-Manager
      AxonHub and 9router
    Use cases
      Switch between API tools
      Import sessions to new platforms
      Manage multiple ChatGPT accounts
    Tech stack
      JavaScript
      Single HTML file
      Client-side only
    Limitations
      Cannot skip phone verification
      No refresh token support
      Free accounts lack paid models
    Audience
      Account managers
      Proxy platform users
      API tool operators
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Convert a ChatGPT session file from one tool's format into another tool's expected format.

USE CASE 2

Move account credentials between proxy platforms like AxonHub, 9router, or Codex-Manager.

USE CASE 3

Extract email and account ID details directly from a ChatGPT access token.

USE CASE 4

Quickly reformat session JSON without manually rewriting the file structure.

What is it built with?

JavaScriptHTML

How does it compare?

gtxx3600/gptsession2cpaandsub2apijasonkneen/tiny-world-builderfoundzigu/gujumpgate
Stars1,4151,3711,345
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-06-102026-07-03
MaintenanceActiveActive
Setup difficultyeasyeasyhard
Complexity1/52/54/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

No setup needed, just open the HTML file in a browser or use the online version and paste your session JSON.

In plain English

gptsession2cpaandsub2api is a free, browser-based tool that converts ChatGPT login credentials between the JSON formats used by different tools and platforms. Think of it as a universal adapter plug: you have a session file from one tool, and you need it in the exact shape another tool expects. You can use it online or open it locally, no server involved. Here's how it works: you paste or drag in a JSON file containing your ChatGPT session details (like access tokens, email, account plan type, and expiry). The tool reads those fields and reshapes them into whichever target format you select. It can translate between formats for CPA, sub2api, Cockpit Tools, 9router, Codex, AxonHub, and Codex-Manager. The page also tries to extract extra details like your email and account ID directly from the token itself. Everything happens in your browser, your credentials are never uploaded anywhere or saved to local storage. This tool is for people managing ChatGPT accounts across multiple API tools or proxy platforms. For example, if you have a session exported from one tool but need to import it into another that uses a different JSON structure, this tool handles the conversion so you don't have to manually rewrite the file format. There are important limitations worth knowing. OpenAI has blocked the original use case of bypassing Codex's phone verification step, so this tool can no longer skip that requirement. Additionally, ChatGPT web sessions typically lack a "refresh token," meaning that once an access token expires, it can't automatically renew, it will just stop working. Free accounts may also lack permissions for paid models, even after conversion. Whether the converted file actually works depends on current OpenAI restrictions and whether your token is still valid. The project is notable for being entirely client-side: a single HTML file with all parsing and conversion done locally in the browser. This design choice means your tokens never leave your machine, which matters when handling sensitive authentication data.

Copy-paste prompts

Prompt 1
I have a ChatGPT session JSON file from Cockpit Tools but I need it in the sub2api format. Using gptsession2cpaandsub2api, how do I convert it?
Prompt 2
How can I use gptsession2cpaandsub2api to extract my email and account ID from a ChatGPT access token without uploading my credentials anywhere?
Prompt 3
I need to convert a CPA-format session file to the AxonHub JSON format. What steps do I follow in gptsession2cpaandsub2api?
Prompt 4
Can gptsession2cpaandsub2api convert my session JSON to the Codex-Manager format, and what limitations should I know about regarding refresh tokens?

Frequently asked questions

What is gptsession2cpaandsub2api?

A free browser-based tool that converts ChatGPT session files between different JSON formats used by API tools and proxy platforms. Everything runs locally in your browser, so credentials never leave your device.

What language is gptsession2cpaandsub2api written in?

Mainly JavaScript. The stack also includes JavaScript, HTML.

Is gptsession2cpaandsub2api actively maintained?

Active — commit in last 30 days (last push 2026-06-10).

How hard is gptsession2cpaandsub2api to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is gptsession2cpaandsub2api for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub gtxx3600 on gitmyhub

Verify against the repo before relying on details.