How to Make a New File on Any Device or Operating System
Creating a new file sounds simple — and often it is. But depending on your operating system, the app you're using, and what type of file you need, the method and even the outcome can vary more than most people expect. Whether you're on Windows, macOS, Linux, a smartphone, or working entirely in the cloud, here's a clear breakdown of how file creation actually works.
What "Making a New File" Actually Means
At its core, a file is a named container for data stored on a device or in the cloud. When you create a new file, you're telling the operating system to reserve a named entry in the file system — even if that file starts completely empty.
Files have a few key properties set at creation:
- File name — what you call it
- File extension — the format type (.txt, .docx, .jpg, .pdf, etc.)
- Location — which folder or directory it lives in
- Permissions — who can read, edit, or delete it (often set automatically)
The method you use to create a file determines all of these, sometimes automatically and sometimes with your direct input.
How to Create a New File on Windows
Windows gives you several ways to make a new file, depending on whether you want to use an application or the file system directly.
Using the right-click context menu:
- Navigate to the folder where you want the file
- Right-click on an empty area of the folder
- Hover over New
- Select a file type (Text Document, Word Document, etc.)
- Name the file and press Enter
This method creates a file directly in the file system without opening an app first. The available file types in this menu depend on what software is installed on your machine.
Using an application: Most apps — Word, Notepad, Excel, Photoshop — let you create a new file from File → New or with the keyboard shortcut Ctrl + N. The file isn't saved to disk until you choose File → Save and pick a location and name.
Using the Command Prompt or PowerShell: Power users can create files from the command line. For a blank text file:
Or in PowerShell:
How to Create a New File on macOS
On a Mac, the process is slightly different because macOS doesn't include a right-click "New File" option in Finder by default — a common frustration for users switching from Windows.
Using an application: The standard method is to open the app you need (TextEdit, Pages, Excel, etc.) and use File → New or Cmd + N. Save with Cmd + S to write it to disk.
Using Terminal: The touch command is the classic way to create an empty file instantly:
This creates a zero-byte file at the specified path with no content.
Using Automator or third-party tools: Some users install tools or Finder extensions (like New File Menu) to add right-click file creation to Finder, bringing the workflow closer to the Windows experience.
How to Create a New File on Linux 🐧
Linux offers the most flexibility for file creation, especially from the terminal.
- touch filename.txt — creates an empty file or updates the timestamp of an existing one
- > filename.txt — creates an empty file using output redirection
- nano filename.txt — opens a text editor and creates the file on save
- cat > filename.txt — creates a file and waits for typed input
Desktop environments like GNOME and KDE also support right-click file creation in their file managers, similar to Windows Explorer.
Creating Files in Cloud and Web-Based Environments
Cloud platforms handle file creation differently because the file doesn't necessarily live on your local device at all.
| Platform | How to Create a New File |
|---|---|
| Google Drive | Click + New → choose Docs, Sheets, Slides, etc. |
| Microsoft OneDrive | Click + New in the web interface or sync folder |
| Dropbox | Use a connected app; Dropbox itself doesn't create native files |
| Notion | Create a new page (pages function as files in Notion's structure) |
In cloud environments, autosave is often built in — you don't manually save to disk. But the file is still "created" the moment you open a new document, even before you add content.
Creating Files on Mobile Devices
On iOS and Android, file creation is almost always handled inside apps rather than at the OS level.
- In Files (iOS) or Files by Google (Android), you can create new folders but not arbitrary file types directly
- Apps like Microsoft Word, Google Docs, or Obsidian create files within their own storage containers or sync to the cloud
- Some apps save to a local "On My iPhone/iPad" location, while others default to cloud storage — which affects where the file actually lives
The distinction between local storage, app-specific storage, and cloud storage matters especially on mobile, where files can end up in unexpected places.
The Variables That Shape Your Experience
Creating a new file seems universal, but what works cleanly in one setup may require extra steps in another. Key factors include:
- Operating system and version — macOS's missing right-click option, Linux terminal access, Windows version behavior
- File type needed — a plain .txt file is trivial; a structured .xlsx or .psd requires a specific application
- Where the file needs to live — local drive, network drive, cloud folder, or app-specific storage
- Permissions and account type — on shared or managed systems, you may not have write access to certain directories
- Whether you need the file immediately or will populate it later — some workflows benefit from creating empty placeholder files; others need the app to initialize the file structure correctly
A developer creating a configuration file via terminal has a completely different workflow than a student starting a new Word document or a designer setting up a new Photoshop canvas — even though all three are technically "making a new file."
How you approach it depends entirely on what you're building, where it needs to go, and what tools you're working with. 📁