A lightweight, open-source Windows utility for saving multiple Codex sign-ins locally and switching between them without repeating the complete sign-out and sign-in flow.
عربي؟ اقرأ الدليل العربي.
- Arabic and English interface with automatic Windows-language detection.
- One-click switching between saved Codex sign-ins.
- Optional custom API profiles with provider URL, model ID, and API key.
- Shared local projects and session files across profiles.
- Credentials encrypted with Windows DPAPI for the current user and computer.
- Portable executable with optional local installation and desktop shortcuts.
- No telemetry, advertising, installer service, or background process.
Download the latest portable package from Releases.
$url = "https://github.com/mohammedjaferalshouha/codex-account-switcher/releases/latest/download/CodexAccountSwitcher-Portable-v1.5.2.zip"
$zip = Join-Path $env:TEMP "CodexAccountSwitcher.zip"
$folder = Join-Path $env:USERPROFILE "Downloads\CodexAccountSwitcher"
Invoke-WebRequest -Uri $url -OutFile $zip
Expand-Archive -LiteralPath $zip -DestinationPath $folder -Force
Start-Process (Join-Path $folder "CodexAccountSwitcher.exe")- Open Codex and sign in to your first account.
- Run the switcher and select Save Current Account.
- Select Add New Account and complete sign-in inside Codex.
- Return to the switcher and confirm after the correct account appears.
- Select a saved profile and choose Launch Selected Account.
Use the language button at the top of the window to switch between Arabic and English. The preference is saved for the current Windows user.
Select Add API Account, then enter the profile name, provider base URL, model ID, and API key. The provider must offer a Codex-compatible Responses API. The API key is encrypted locally in the same way as other saved credentials.
- Saved credentials are protected by Windows DPAPI.
- Encrypted profiles cannot be moved to another Windows user or computer.
- The app never uploads credentials and contains no network client of its own.
- It does not delete project, session, or conversation folders.
- It switches only the Codex authentication and provider configuration files.
- Cloud tasks and conversations may remain associated with the account that created them.
Review SECURITY.md before reporting a security concern.
Set-ExecutionPolicy -Scope Process Bypass
.\build.ps1The build script uses the Windows C# compiler included with the .NET Framework
and creates the executable in the dist directory.
Compare the downloaded archive hash with the value published in the release:
Get-FileHash .\CodexAccountSwitcher-Portable-v1.5.2.zip -Algorithm SHA256Bug reports and focused pull requests are welcome. See CONTRIBUTING.md.
This is an independent community utility. It is not affiliated with, endorsed by, or supported by OpenAI.
Released under the MIT License.