# How to Create a New File in a Folder on a Mac

ComfortFiles is a Windows Explorer-style file manager for macOS.

Finder has no "new file". To get an empty `.txt` into a folder you open TextEdit, save into that folder, and close it — three steps for a thing that should be one.

ComfortFiles has the command, and the list of types is yours.

<video class="howto-shot" autoplay muted loop playsinline poster="/media/how-to/new-file-poster.png" width="1036" height="798">
  <source src="/media/how-to/new-file.mp4" type="video/mp4" />
</video>

## Making one

Right-click the empty space in a folder → **New ▸ File** → the type. The same menu is behind the **New** button in the [command bar](/how-to/command-bar/).

The file lands with its name already selected, so the first thing you type is the name you meant. Press Return and it is done.

## The list is yours

At the bottom of that submenu: **Manage File Types…**. Add a type, remove one, drag to reorder — the order in the window is the order in the menu, so the one you make most often can be first.

Adding is forgiving on purpose. `md`, `.MD` and `notes.md` all add the same type, because the difference between them is nothing a person should have to think about.

## What it starts with

Plain text and Markdown, and nothing else. That is a decision rather than a limitation: `.js` and `.css` in a default list say "this app is for developers", and the person we are thinking about is writing notes, not code. Whoever needs them adds them once.

## Related

- [The command bar](/how-to/command-bar/) — the New button, and everything else in that row.
- [Renaming files](/how-to/batch-rename/) — including renaming many at once.

## Frequently asked questions

### How do I create a new empty file on a Mac?

Right-click the empty space in a folder and choose <strong>New ▸ File</strong>, then the type — or use the <strong>New</strong> button in the command bar, which opens the same menu. The file appears with its name selected, so you can type the real name straight away. Finder has no such command at all: the usual workaround is to open an app, save an empty document into the right folder, and close it again.

### Which file types are offered?

The ones you put there. It starts with plain text and Markdown, and <strong>Manage File Types…</strong> at the bottom of the menu lets you add, remove and reorder. Type an extension, a name, or even a filename — <code>notes.md</code>, <code>.MD</code> and <code>md</code> all mean the same thing.

### Why are .js and .css not in the list by default?

Because the default list is not a developer&rsquo;s list. Text and Markdown are what most people need first; a person who wants <code>.js</code> adds it in ten seconds and it stays there.

### Does it create the file with any content?

No — the file is empty, and it is a real file on disk with the extension you chose. Nothing is templated, and nothing is opened.
