All guidesSetup guide

Can ChatGPT edit files on your computer?

Uploading, cloud Work, local Work, Codex, Google files - what each can and can't touch on your Mac, and what folder access really means.

Last updated July 22, 2026

Short answer

It depends on which ChatGPT you mean. Ordinary ChatGPT in a browser cannot edit files on your computer - it only ever sees copies you upload, and those copies live in the cloud. But some newer ways of using ChatGPT can open a local folder and change real files on your Mac, once you grant permission. The difference matters, so the rest of this guide walks through each case one at a time.

Uploading a file to ordinary ChatGPT

When you drag a document into a normal ChatGPT conversation, you are handing it a copy. That copy is processed in the cloud, on OpenAI’s servers - not on your Mac. ChatGPT can read it, summarize it, rewrite it, and offer you a new version to download, but it never reaches back into your computer. The original file sitting in your Downloads or Documents folder is exactly as you left it.

This is the version most people mean when they ask “can ChatGPT edit files on my computer?” For ordinary chat, the honest answer is a flat no. It cannot browse your folders, open a file you did not upload, or overwrite anything on your disk.

Cloud-based ChatGPT Work

ChatGPT Work is the agent-style way of using ChatGPT to do multi-step tasks rather than just answer questions. When it runs in the cloud, it works in a workspace on OpenAI’s side. It can produce files for you - a cleaned-up spreadsheet, a drafted report, a renamed set of documents - and you download the results.

The key point: cloud-based ChatGPT Work is not editing your local disk directly. It builds things in its own environment and hands them back to you. Until you download and save a result, your real folders have not changed. For a fuller picture of the different modes, see ChatGPT Chat vs Work vs Codex.

Local ChatGPT Work in the desktop app

This is the case where the answer flips to yes. The ChatGPT desktop app can run ChatGPT Work against a folder on your Mac once you grant it access. With your permission, it can open local folders and create, edit, rename, move, and organize the actual files on your computer.

That is genuinely useful - it can tidy a messy Downloads folder, restructure a research project, or batch-rename a hundred photos without you touching each one. But it is also the moment the stakes change: these are your real files, on your real disk, and the changes are not confined to a cloud sandbox. If you want a careful setup for exactly this, read how to safely use ChatGPT Work with local folders on your Mac.

Codex and local project folders

Codex is the more developer-focused way of pointing ChatGPT at code. It can work directly in a local project folder - reading, editing, and creating files - and it leans on Git, the version-tracking tool developers use to record every change to a project so any of them can be undone. If you write code, Codex plus Git already gives you a strong safety net, because Git keeps a full history of what changed.

For non-technical work, Codex and Git are usually more machinery than you want. The point worth taking away is simply that Codex is another path where ChatGPT can touch real local files - not just a cloud copy.

Google Docs and Sheets are a different story

Files that live in Google Workspace - Google Docs, Sheets, Slides - are cloud-native. They do not sit on your Mac as ordinary files, so they are treated differently from local files entirely. If ChatGPT (or any tool) changes a Google Doc, your recovery path is Google’s own version history, built into the document, not anything on your disk.

In other words: a folder safety net that watches your Mac has nothing to watch when the “file” is really a Google cloud document. Use Google’s version history for those, and keep local protection for the files that actually live on your computer.

Mac versus Windows

The desktop app and its local-folder features are not exclusive to the Mac. But the folder-watching protection described below is: CoworkRestore is Mac-only. It watches and versions folders on macOS. On Windows or Linux it simply does not run, so plan your safety net accordingly if you are not on a Mac.

What granting local folder access really means

Once you point local ChatGPT Work at a folder, you have handed it the keys to that folder. Two things are worth being clear-eyed about.

  • An AI can change more than you asked. You might ask it to rename a few files and find it also moved, merged, or reorganized others in the same folder because it thought that was tidier. The instruction and the result do not always match one-for-one.
  • The changes land on your real disk. Unlike a cloud copy, edits here overwrite the originals. There is no automatic “cloud version” to fall back on unless you set one up yourself.

None of this is a reason to avoid local folder access - it is a reason to stay in control of it. Three habits do most of the work:

  • Scope the folder tightly. Give it the one project folder it needs, not your whole Documents or Desktop. The smaller the blast radius, the less a surprise can cost you.
  • Keep automatic local version history. If every change is saved as a version the moment it happens, a wrong edit is an inconvenience, not a loss - you just roll that file or folder back.
  • Keep your normal backups running. Time Machine, iCloud, or whatever you already use. A version history is not a backup, and a backup is not a version history; you want both.

Where CoworkRestore fits

CoworkRestore is the “automatic local version history” piece for people using ChatGPT Work on local folders. It is a Mac menu-bar app: you add a folder once, and it quietly saves versions of that folder as files change. When ChatGPT Work touches something you did not expect, you open the folder’s history, see exactly what changed, and restore a single file or the whole folder.

  • How it connects to ChatGPT: it does not. It watches the folder, not the app - folder watching only, with no native integration. That means it works alongside ChatGPT Work with no extension, plugin, or account link.
  • What it can do: save versions of any folder you add, show a plain list of what changed, and let you restore one file or roll back everything - then undo that restore if you change your mind.
  • What it cannot do: recover anything from before it was watching a folder. It has no retroactive recovery. It is Mac-only, local-only, and it is not a backup - keep Time Machine or iCloud running alongside it.

The bottom line

“Can ChatGPT edit files on my computer?” has one honest answer with a fork in it. Ordinary chat and cloud-based ChatGPT Work: no - they work on copies in the cloud and hand results back. Local ChatGPT Work in the desktop app, and Codex in a project folder: yes - with your permission, they change real files on your disk. The moment you grant that permission is the moment to make sure a local version history is running underneath, so a surprise edit is always one click from being undone.

Frequently asked questions

Can plain ChatGPT read the files on my computer?
No. Ordinary ChatGPT chat only sees a file if you upload it, and even then it works on a copy in the cloud. It has no way to reach into your Mac, browse your folders, or open files you did not hand it.
Does uploading a file let ChatGPT change the original on my disk?
No. Uploading sends a copy to the cloud. ChatGPT can analyze that copy and give you a new file to download, but the original on your Mac is untouched. Nothing you do in an ordinary chat writes back to your disk.
Which version of ChatGPT can actually edit local files?
ChatGPT Work running inside the ChatGPT desktop app can, once you grant it access to a folder. Cloud-based ChatGPT Work and Codex working in a local project folder are the other paths that touch real files. Ordinary chat in a browser cannot.
Can ChatGPT edit files on Windows too?
The desktop app and its local-folder features are not Mac-only, but CoworkRestore is. CoworkRestore only watches and versions folders on macOS, so its safety net does not apply on Windows or Linux.
Does CoworkRestore need to connect to ChatGPT to protect my files?
No. CoworkRestore watches the folder itself, not ChatGPT. It saves versions as files change on disk, so it works alongside ChatGPT Work without any extension, plugin, or account link. There is no native integration between the two.