What "Do Not Edit" means on your files and devices

"Do Not Edit" is a restriction that prevents you from making changes to a file, folder, or document. When something is marked "Do Not Edit," your device or software is telling you that you cannot alter, delete, rename, or modify the contents. The restriction can come from the file's owner, your system administrator, the software itself, or your device's operating system.

The restriction works differently depending on where you encounter it. On a shared document in Google Docs or Microsoft 365, "Do Not Edit" usually means you have view-only permission — you can read it but cannot change the text. On your computer's file system, it means the file's read-only attribute is turned on. In some apps, it means the document is locked or protected with a password.

The purpose is always the same: to prevent accidental or unauthorized changes. A "Do Not Edit" restriction protects important files from being damaged, keeps shared documents in their original state, and ensures that only certain people can modify sensitive information.

Key Takeaways

  • A "Do Not Edit" restriction prevents you from changing, deleting, or renaming a file, though you can usually still read or copy it.
  • The restriction can come from file permissions, read-only attributes, document protection, or sharing settings in cloud apps.
  • You can often remove the restriction yourself if you own the file, but you may need the password or administrator permission if someone else set it.
  • Different apps handle "Do Not Edit" differently — Google Docs uses sharing permissions, Microsoft Word uses document protection, and Windows uses file attributes.

Why files get marked "Do Not Edit"

Files are restricted for several practical reasons. A company might mark a template "Do Not Edit" so employees use it correctly without accidentally changing the layout or branding. A teacher might lock a PDF assignment so students cannot alter the questions. A shared spreadsheet might be read-only to prevent someone from overwriting formulas or data by mistake.

Sometimes the restriction is temporary. A document might be locked while it is under review, then unlocked once the review is complete. Other times it is permanent — a master file that dozens of people reference but only one person should ever change.

The restriction also protects you. If you open a file you did not create and it is marked "Do Not Edit," that is often a signal that you should not be changing it. It prevents you from accidentally corrupting something important or overwriting work that someone else depends on.

How to tell if a file is marked "Do Not Edit"

The signal depends on where the file is. In Google Docs, Sheets, or Slides, the top of the page will say "Viewer" next to your name, or you will see a message saying you cannot edit. In Microsoft Word, you might see a yellow banner at the top saying "This document is protected" or "Read-Only." On your computer, you might see a lock icon on the file, or when you try to open it, the app will open it in read-only mode.

Some files are silently read-only — you will only discover it when you try to make a change and the app refuses. Try clicking in the document and typing something. If nothing happens, or if you get an error message, the file is likely restricted. The error message usually tells you why: "This file is read-only," "You do not have permission to edit this document," or "This document is protected."

On Windows, you can check a file's properties by right-clicking it, selecting Properties, and looking at the General tab. If there is a checkbox for "Read-only" and it is checked, that is why you cannot edit it. On a Mac, right-click the file, select Get Info, and look for "Locked" near the bottom.

How to remove "Do Not Edit" restrictions you set yourself

If you created the file and set the restriction, removing it is usually straightforward. In Google Docs, click the Share button, find your own name in the list, and change your permission from "Viewer" to "Editor." In Microsoft Word, go to File > Info > Protect Document and look for an option to unprotect the document — you may need to enter the password you set.

On your computer, right-click the file, select Properties, find the "Read-only" checkbox on the General tab, uncheck it, and click Apply. On a Mac, open Get Info, find the "Locked" checkbox near the bottom, uncheck it, and close the window. After you make the change, the file should open normally and let you edit it.

If you cannot remember the password you used to protect a Word document, you have limited options. Microsoft does not have a built-in way to recover a lost protection password. You can try opening the file in an older version of Word, or you can copy the content into a new, unprotected document.

What to do if someone else set the "Do Not Edit" restriction

If the file belongs to someone else or is shared with you as read-only, you have a few options. The simplest is to ask the owner to change your permission. In Google Docs, click Share and ask them to make you an Editor. In a shared folder on your computer, ask them to change the file's permissions in the folder's sharing settings.

If you need to edit the file but cannot reach the owner, you can sometimes make a copy. In Google Docs, go to File > Make a Copy, and you will get an editable version that belongs to you. In Microsoft Office, you can open the file, go to File > Save As, and save it under a new name — this creates a copy you can edit. On your computer, you can copy the file to a new location, which sometimes removes the read-only restriction, though this depends on the folder's permissions.

If the file is on a shared network drive or in a shared folder, you may not be able to remove the restriction yourself. Your system administrator or the folder owner controls who can edit files there. Contact them and explain why you need to edit the file.

How "Do Not Edit" works in different apps and platforms

Google Workspace (Docs, Sheets, Slides) uses sharing permissions. The owner decides whether each person can view, comment, or edit. If you are a Viewer, you cannot edit. If you are a Commenter, you can suggest changes but not make them directly. Only Editors can modify the document.

Microsoft Office (Word, Excel, PowerPoint) uses document protection. The owner can lock the document with a password, restrict editing to certain sections, or mark it as final. Some of these restrictions let you suggest changes; others prevent any modification at all. The protection is built into the file itself, so it travels with the document no matter where you open it.

Dropbox, OneDrive, and iCloud use folder-level permissions. If a folder is shared as read-only, every file in it is read-only. You cannot edit individual files unless the owner changes the folder's permission level. Some cloud services also let you lock individual files, which prevents anyone from editing them until you unlock them.

On Windows and Mac, the operating system uses file attributes. A file can be marked read-only at the system level, which prevents any app from editing it. This is separate from app-level protection — a file can be read-only in Windows but still editable in Google Docs if you have edit permission there.

Frequently Asked Questions

Can I copy text from a "Do Not Edit" file?

Usually yes. Most "Do Not Edit" restrictions prevent you from changing the original file, but they do not prevent you from reading it or copying text out of it. You can select text, copy it, and paste it into a new document that you own. The exception is files with very strict protection — some PDFs or protected Word documents prevent copying entirely.

What if I need to edit a file but it is locked and I do not know the password?

If you own the file, you can try opening it in an older version of the software, or copy the content into a new document. If someone else owns it, contact them and ask them to unlock it or remove the protection. There is no standard way to bypass a password-protected document without the password.

Does "Do Not Edit" mean I cannot download or share the file?

Not necessarily. "Do Not Edit" restricts changes to the file itself, but sharing and download permissions are separate. You might be able to download a read-only file or share a link to it, depending on the owner's settings. Check the sharing or download options in the app you are using.

If I make a copy of a "Do Not Edit" file, will the copy also be restricted?

In Google Docs, a copy you make is editable by you, even if the original is read-only. In Microsoft Office, a copy you save is usually editable unless the original file itself has built-in protection. On your computer, a copy of a read-only file may or may not be read-only, depending on where you copy it to and what the folder permissions are.

Can my company force me to open files as "Do Not Edit"?

Yes. Your system administrator can set policies that make certain files or folders read-only for all employees. They can also restrict who can edit shared documents or lock down templates so people cannot change them. These restrictions are usually in place to protect company data or ensure consistency across teams.