Documents are files that hold text, images, or other content you create and save
A document is any file on your computer that contains information you've written, designed, or collected. The most common type is a text document — something you write in Microsoft Word, Google Docs, or a plain text editor. But documents also include spreadsheets (like Excel files with numbers and calculations), presentations (like PowerPoint slides), PDFs, images, and even web pages saved to your computer.
Every document has a name and a file type. The file type is shown by the extension at the end of the name — the letters after the final dot. A Word document ends in .docx, a Google Sheets file ends in .xlsx, a PDF ends in .pdf. The extension tells your computer which program should open that file.
Documents live in folders on your computer's hard drive, in cloud storage like Google Drive or OneDrive, or sometimes in both places at once if you use sync software. You can open a document, make changes to it, and save those changes. You can also share documents with other people, print them, or convert them to a different format.
Key Takeaways
- A document is any file containing text, images, data, or other content you create and store on your computer or in the cloud.
- The file extension (the letters after the dot in the filename) tells your computer which program to use to open the document.
- Common document types include Word files (.docx), PDFs (.pdf), spreadsheets (.xlsx), and presentations (.pptx).
- Documents can be stored locally on your computer, in cloud storage, or in both places if you use sync software like OneDrive or Google Drive.
- You can edit, save, share, print, or convert documents to different formats depending on what you need to do with them.
How file types and extensions work
Every document has a file extension — usually three or four letters after a dot at the end of the filename. This extension is the key that tells your computer which program should open the file. If you double-click a .docx file, Windows or Mac looks at that extension and opens it in Word (or a compatible program). If you double-click a .pdf, it opens in your PDF reader.
Some common extensions you'll see are .docx (Microsoft Word), .xlsx (Microsoft Excel), .pptx (Microsoft PowerPoint), .pdf (portable document format), .txt (plain text), .jpg and .png (image files), and .mp4 (video files). Each one is designed for a specific type of content and a specific purpose.
You can change a document's name, but changing the extension can break it. If you rename "report.docx" to "report.txt", your computer will try to open it as plain text, and it will look like garbage. The file itself hasn't changed — only the label has — but the program won't know how to read it anymore.
Where documents are stored
Documents can live in several places. The most straightforward is your computer's hard drive, usually organized in folders like Documents, Desktop, or Downloads. When you save a document from Word or Google Docs, you choose where to put it.
Many people also store documents in cloud storage services like Google Drive, Microsoft OneDrive, Dropbox, or iCloud. Cloud storage means the file lives on a company's servers instead of just on your computer. You can access it from any device with an internet connection, and you can share it with other people without emailing it back and forth.
Some cloud services also sync to your computer, meaning a copy stays on your hard drive and automatically updates when you make changes. OneDrive and Google Drive both work this way — you can edit a document offline, and when you reconnect to the internet, the changes upload automatically.
Opening and editing documents
To open a document, you double-click it (or right-click and choose "Open"). Your computer looks at the file extension and launches the right program. If you don't have that program installed, you'll get an error or a prompt to download one.
Once a document is open, you can edit it — change the text, add images, reorganize sections, whatever the program allows. When you're done, you save the changes. Saving writes your edits back to the file. If you don't save, the changes disappear when you close the program.
Many modern programs (Word, Google Docs, Excel) save automatically as you work, so you don't have to remember to hit save. But it's still a good habit to save manually, especially before you close the program or shut down your computer.
Sharing and converting documents
You can share a document with someone else in several ways. You can email it as an attachment, upload it to a shared folder, or use a cloud service's built-in sharing feature. When you share through Google Drive or OneDrive, you can let people view only, comment, or edit the document directly.
You can also convert a document to a different format. The most common conversion is to PDF, which locks the formatting and prevents accidental changes. You can convert a Word document to PDF by opening it in Word and choosing "Save As" or "Export as PDF". PDFs look the same on any computer, which is why they're popular for official documents, forms, and anything you want to look identical everywhere.
Some conversions are easier than others. Converting Word to PDF is straightforward. Converting a complex Excel spreadsheet to a plain text file will lose all the formatting and formulas. Always think about what you need the document to do before you convert it.
Organizing and managing documents
As you create more documents, organizing them into folders makes them easier to find. Most computers come with a Documents folder, but you can create your own folder structure. A common approach is to make folders by project, by year, or by topic — whatever makes sense for how you work.
You can also use naming conventions to keep documents organized. Instead of "Report", name it "2024 Q1 Sales Report" or "Project X - Budget Draft v2". This makes it easier to find the right version later and understand what the document contains without opening it.
If you use cloud storage, you can organize documents the same way. The advantage is that you can access them from any device, and if your computer breaks, your documents are still safe on the cloud service's servers.
Common problems and how to fix them
One common problem is that a document won't open. This usually means your computer doesn't have the right program installed, or the file is corrupted. If you get an error, try opening the file with a different program. Right-click the document, choose "Open with", and pick a different option. For example, you can open many document types with Google Docs or LibreOffice if you don't have Microsoft Office.
Another problem is losing track of which version of a document you're working on. If you email a document back and forth with someone, you might end up with "Report v1", "Report v2", "Report Final", and "Report Final FINAL". Cloud services with version history (like Google Drive and OneDrive) solve this by keeping all versions in one place and letting you revert to an older version if you need to.
A third issue is file size. Large documents with many images or videos can be slow to upload, download, or email. You can compress images or remove unnecessary content to make the file smaller. Some cloud services also compress files automatically.
Frequently Asked Questions
What's the difference between a document and a file?
A file is any piece of data stored on your computer — documents, images, videos, programs, everything. A document is a specific type of file that contains content you created or collected, like text, data, or images. All documents are files, but not all files are documents.
Can I open a document without the original program?
Often yes. Google Docs can open Word documents, Excel files, and PowerPoint presentations. LibreOffice (free software) can open most Microsoft Office formats. PDFs can be opened in any PDF reader. But complex formatting or special features might not display correctly in a different program.
What happens if I delete a document?
On most computers, deleted files go to the Recycle Bin (Windows) or Trash (Mac). You can recover them from there if you act quickly. Once you empty the Recycle Bin or Trash, recovery is much harder. If the document was in cloud storage, the cloud service usually keeps deleted files in a trash folder for 30 days before permanently removing them.
Is it safe to store documents in the cloud?
Cloud storage services use encryption and security measures to protect your files. Your documents are safer in the cloud than on a computer that could be stolen or damaged. However, you should use a strong password and enable two-factor authentication on your cloud account for extra security.
Can multiple people edit the same document at the same time?
Yes, if the document is in Google Docs, Microsoft 365 (online versions of Word, Excel, PowerPoint), or similar services. You can see changes in real time as other people edit. This doesn't work with files stored only on your computer — only one person can edit at a time.