The fastest way to create a file depends on what program you're using
Creating a file is usually a one-step action inside the program you want to use it in. If you need a document, open Word or Google Docs and start typing — that's creating a file. If you need a spreadsheet, open Excel or Google Sheets. The file gets created the moment you save it with a name and location. You do not need to create an empty file first and then open it.
The exception is when you want a file with no content yet, or when you want to create it from your desktop or file manager instead of from inside a program. In those cases, the steps change slightly depending on whether you use Windows, Mac, or a web-based system.
Key Takeaways
- Most files are created by opening the program you need (Word, Excel, Notepad) and saving your work with a filename and location.
- On Windows, you can right-click in File Explorer to create a new text file or folder without opening a separate program.
- On Mac, you can create a new file by right-clicking in Finder and selecting "New Folder", or by opening TextEdit for a blank document.
- Saving a file means choosing a name, choosing where to store it, and clicking Save — the file does not exist until you do this step.
- File names can include letters, numbers, spaces, and hyphens, but avoid special characters like asterisks, question marks, or forward slashes.
Creating a file in Windows using File Explorer
Open File Explorer by pressing the Windows key and typing "File Explorer", then clicking the result. Navigate to the folder where you want the file to live. Right-click in the empty space inside that folder — not on an existing file or folder, but in the blank area.
A menu will appear. Look for "New" and hover over it. A submenu will show options like "Text Document", "Folder", "Shortcut", or "Bitmap Image". Click "Text Document" to create a blank text file. Windows will create a file named "New Text Document.txt" and highlight the name so you can type over it. Type the name you want and press Enter.
The file now exists, but it is empty. You can double-click it to open it in Notepad, type something, and save it. Or you can leave it empty if you plan to use it later. The file stays in that folder until you move or delete it.
Creating a file on Mac using Finder
Open Finder by clicking the Finder icon in the dock (usually the leftmost icon). Navigate to the folder where you want the file. Right-click in the empty space and look for "New Folder" — this creates a folder, not a file. Mac does not have a built-in "New File" option in Finder the way Windows does.
To create an actual file on Mac, open TextEdit from Applications > Utilities. Go to Format menu and select "Make Plain Text". Then type your content and save it. When you save, choose the location (the folder you want it in), type a filename, and click Save. The file will appear in that folder.
Alternatively, you can create a file by opening any program — Word, Google Docs, Notes, or TextEdit — and saving a blank document with a name. This is often faster than trying to create an empty file first.
Creating a file in Google Drive or OneDrive
If your files live in the cloud instead of on your computer, the process is different. Open Google Drive in your web browser and click the "Create" button on the left side. A menu appears with options: "Google Docs", "Google Sheets", "Google Slides", "Folder", and others. Click the type of file you want. A new blank file opens in a new tab, and you can start typing immediately.
Google Drive saves your work automatically, so you do not have to click Save. The file gets a default name like "Untitled document" until you rename it. Click the title at the top of the page to change the name. The file stays in your Drive and syncs across all your devices.
Microsoft OneDrive works similarly. Click "New" and choose "Word document", "Excel workbook", or "Folder". A new file opens and saves automatically to your OneDrive storage.
Saving a file so it actually exists
Creating a file and saving a file are not the same thing. You can type something in Notepad or Word, but the file does not actually exist on your computer until you save it. When you save, you tell the program three things: what to name the file, what type of file it is (the extension, like .txt or .docx), and where to put it.
Press Ctrl+S on Windows or Command+S on Mac to open the Save dialog. Type a filename — do not include the extension, the program adds that automatically. Choose a folder from the list on the left (Desktop, Documents, Downloads, or any folder you created). Click Save. The file now exists in that location with that name.
If you try to close a program without saving, it will ask "Do you want to save changes?" If you click No, everything you typed disappears and no file is created. If you click Yes, the Save dialog opens and you can name and store the file.
Naming your file so you can find it later
Use a filename that describes what is inside. "Resume.docx" is better than "Document1.docx" because you will recognize it six months from now. "2024 Tax Return.pdf" is better than "Taxes.pdf" because it includes the year.
You can use letters, numbers, spaces, and hyphens in filenames. Avoid asterisks (*), question marks (?), forward slashes (/), backslashes (\), colons (:), quotation marks ("), and angle brackets (< >). These characters confuse the operating system and the file may not save correctly.
The extension — the part after the dot — matters. A file named "Resume.docx" opens in Word. A file named "Resume.txt" opens in Notepad. The program you use to create the file usually adds the right extension automatically, but if you type the extension yourself, make sure it matches the file type.
Creating folders to organize your files
Before you create many files, create folders to organize them. On Windows, right-click in File Explorer, hover over "New", and click "Folder". Type a name for the folder and press Enter. On Mac, right-click in Finder and select "New Folder", then type a name.
Create a folder structure that makes sense to you. For example, a Documents folder might contain subfolders for "Work", "Personal", "Medical", and "Financial". Inside Work, you might have folders for each project or client. When you save a file, navigate to the right folder before you click Save.
Organizing files into folders now saves time later when you need to find something. A file buried in a folder called "2024 Taxes" is much easier to locate than a file sitting loose on your Desktop with dozens of others.
Frequently Asked Questions
What is the difference between creating a file and creating a folder?
A folder is a container that holds files. A file is the actual document, spreadsheet, image, or text. You create folders to organize files. You can have folders inside folders, but a file is the end point — you cannot put things inside a file the way you can with a folder.
Can I create a file with no extension?
Technically yes, but the operating system will not know what program to open it with. If you double-click a file named "MyDocument" with no extension, Windows or Mac will ask you to choose a program. It is better to include the extension (.txt, .docx, .pdf) so the system knows what to do with it.
What happens if I create a file but never save it?
The file does not exist. If you type something in Notepad and close the program without clicking Save, your text disappears. The program will warn you and ask if you want to save before closing, but if you click No or close the window, the work is lost.
Can I create a file on my phone or tablet?
Yes, but the process is different. On an iPhone or iPad, open the Notes app and create a new note, or open Google Docs and create a new document. On Android, open Google Docs or Microsoft Word and create a new file. The steps are similar to creating files on a computer, but the menus look different because phones have smaller screens.
How do I create a file with a specific file type, like a PDF?
Most programs cannot create a PDF directly. Instead, create the file in the program you are using (Word, Google Docs, etc.), then export or save it as a PDF. In Word, go to File > Save As and choose PDF from the file type dropdown. In Google Docs, go to File > Download and select PDF Document. The program converts your file to PDF format.