Skip to content

Instantly share code, notes, and snippets.

View yokoffing's full-sized avatar

yokoffing

View GitHub Profile
@wd006
wd006 / macOS-New-Text-File-on-Right-Click-Menu.md
Created April 26, 2026 09:40
How to add a "New Text File" option to macOS right-click menu with Automator (No third-party apps needed)

How to Add a "New Text File" Option to macOS Right-Click Menu

One of the most missed features for users switching to macOS is the inability to right-click and create a blank text document. You don't need to buy third-party apps for this! We can build it easily using macOS's built-in Automator.

If untitled.txt already exists, it automatically creates untitled-1.txt, untitled-2.txt, etc., preventing any errors.

Here is the step-by-step guide on how to set it up.

Step 1: Create a New Quick Action with Automator

Open Spotlight (Cmd + Space), type Automator, and press Enter. Click on New Document.