Can ChatGPT Write and Edit Code?

Yes β€” available on the free plan

Canvas

Canvas is ChatGPT's split-screen workspace for writing and coding projectsβ€”edit inline, get suggestions, and refine together. **Available on all plans including free**, but currently desktop and web only. Mobile is coming soon.

PlanAvailableNotes
Freeβœ“
Goβœ“
Plusβœ“
Proβœ“
Teamβœ“
Enterpriseβœ“

Available on: Windows macOS web

Verified: 2026-03-19

Sources: https://openai.com/index/introducing-canvas/

Codex (Code Agent)

Codex is ChatGPT's coding agent that can write, run, and debug code autonomously. Normally requires **Plus or higher**, but **Free and Go users have temporary promotional access** (limited). Available via **web, desktop apps, and CLI** (`npm i -g @openai/codex`) on macOS, Linux, and Windows (WSL).

PlanAvailableNotes
Freeβœ“
Goβœ“
Plusβœ“
Proβœ“
Teamβœ“
Enterpriseβœ“

Available on: Windows macOS Linux iOS Android web terminal API

Verified: 2026-03-15

Sources: https://chatgpt.com/pricing, https://github.com/openai/codex, https://developers.openai.com/codex/cli/

Codex Security

Codex Security is OpenAI's AI security agentβ€”it connects to your GitHub repos, builds a codebase-specific threat model, validates vulnerabilities in sandboxed environments, and generates fix PRs. **Requires Pro ($200/mo), Enterprise, Business, or Edu**β€”not available on Plus or lower. Launched March 6, 2026 as a research preview with free usage for the first month.

PlanAvailableNotes
Freeβœ—
Goβœ—
Plusβœ—
Proβœ“
Teamβœ—
Enterpriseβœ“
Businessβœ“
Eduβœ“

Available on: Windows macOS web

Verified: 2026-03-15

Sources: https://openai.com/index/codex-security-now-in-research-preview/, https://help.openai.com/en/articles/20001107-codex-security

← Browse all capabilities Β· See all products for Write and Edit Code