ChatGPT

OpenAI’s chat assistant also writes and fixes code: paste it in or describe what you need

OpenAI•Write code•Earliest fact checked 2026-11-12
Free to start
Get started Official site We only link to official sites.

Good for: You want help with code without installing developer tools: it works in the browser and the apps

Not for: You don’t want your code used for training: on personal plans it may be, unless you turn it off in settings first

What it does

Ask in a chat and ChatGPT writes, debugs and improves code, or explains how a project works. Paste in your code or describe what you want to build, then keep refining it by replying.

Checked 2026-11-14 · Source

Good for you if…

  • You want help with code without installing developer tools: it works in the browser and the apps
  • You want to start for free: the free plan includes unlimited text chats, within abuse guardrails
  • You’re learning to code and want each step explained

Think twice if…

  • You don’t want your code used for training: on personal plans it may be, unless you turn it off in settings first
  • You need to paste in very long files or whole projects: the free plan’s memory and context are limited

How to start

  1. Go to chatgpt.com and sign up for free, or log in.
  2. Say what the code should do and which programming language you use, or paste the code you want fixed or explained.
  3. Copy the code it gives you into your project and try it. If you get an error, paste the error message back into the chat.
  4. Ask for changes in plain words until it does what you need.

Will it train AI on my code?

On personal plans, yes unless you turn it off: OpenAI may use your conversations, including code you paste in, to train its models. To turn it off, go to Settings › Data controls and switch off “Improve the model for everyone” (or use OpenAI’s Privacy Portal). Even then, a conversation you give feedback on, such as a thumbs up or down, may be used. On Business, Enterprise and Edu, and through the API, OpenAI doesn’t use your content to improve its models by default.

Applies to ChatGPT on the web and in the apps, sending your code to OpenAI’s own models. Personal plans as OpenAI lists them: Free, Plus and Pro (the page does not name Go). Business, Enterprise, Edu and the API: not used by default. Codex has a separate setting of its own, not covered here.

From the official terms
When you use our services for individuals (Free, Plus, Pro), we may use your content to train our models.
  • If you choose to provide feedback, the entire conversation associated with that feedback may be used to train our models. Source 2
  • By default, we don’t use inputs or outputs from ChatGPT Business, ChatGPT Enterprise, ChatGPT Edu, or our API to improve our models. Source 3
  • Content is used to train our models Source 4
Checked 2026-11-14 · Source · Source 2 · Source 3 · Source 4

Summary of the maker’s terms as checked on 2026-11-14. Always read the official terms; this is not legal advice.