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.
| Plan | Available | Notes |
|---|---|---|
| Free | β | |
| Go | β | |
| Plus | β | |
| Pro | β | |
| Team | β | |
| Enterprise | β |
Available on: Windows macOS web
Verified: 2026-03-19
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).
| Plan | Available | Notes |
|---|---|---|
| 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.
| Plan | Available | Notes |
|---|---|---|
| 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