Skip to content

Repository files navigation

Codex Account Switcher

Windows Release License

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.

عربي؟ اقرأ الدليل العربي.

Codex Account Switcher interface preview

Highlights

  • 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

Download the latest portable package from Releases.

PowerShell

$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")

First use

  1. Open Codex and sign in to your first account.
  2. Run the switcher and select Save Current Account.
  3. Select Add New Account and complete sign-in inside Codex.
  4. Return to the switcher and confirm after the correct account appears.
  5. 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.

Custom API profiles

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.

Privacy and safety

  • 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.

Build from source

Set-ExecutionPolicy -Scope Process Bypass
.\build.ps1

The build script uses the Windows C# compiler included with the .NET Framework and creates the executable in the dist directory.

Verify a release

Compare the downloaded archive hash with the value published in the release:

Get-FileHash .\CodexAccountSwitcher-Portable-v1.5.2.zip -Algorithm SHA256

Contributing

Bug reports and focused pull requests are welcome. See CONTRIBUTING.md.

Disclaimer

This is an independent community utility. It is not affiliated with, endorsed by, or supported by OpenAI.

License

Released under the MIT License.

About

Open-source bilingual Windows account switcher for Codex with encrypted local profiles and custom API support.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages