Don't save blank "untitled" file

I do not know which category this falls in, but I’m posting it here.

Use case or problem

In my case, many times it so happens that the file I’m trying to create already exists. So obsidian just creates an “untitled” named file and saves it.

Such a file should not get saved unless the title has been manually set or some content is added in the file.

This is important to me as I like to keep my directory clean, with no unnecessary files.

Proposed solution

Don’t save such file.
Or provide an option in setting regarding what should happen in such case.

Current workaround (optional)

Search and then delete the file. (irritating when there are too many files and folders and one has to search the file).

Related feature requests (optional)


this is strange, how are you creating this new repeated files?

Usually obsidian would show you a warning saying, this file already exists.

Are you trying to name files with similar titles on purpose, or is it an accident that often happens?

Perhaps I’m missing something, feel free to include screenshot or anything to elaborate a bit more, to see how we can help


this is strange, how are you creating this new repeated files?

Right click on folder and create “new note”

Are you trying to name files with similar titles on purpose, or is it an accident that often happens?


@santi I’ll try to give some more information.

I started using obsidian recently and many files have only titles and some/no content. So I sometimes forget that such files exist and instead of searching whether they do, I just default to creating new note.

So I right click folder, create new note, add title and obsidian says such a file exist. So I cmd+o to open the file. However, a untitled file gets created in that folder.

Not that I mention it, it is partially my fault, but still obsidian should be smart enough not to save such file or ask user what to do.

1 Like

Got you, okay so what I’d recommend is to create files in a slightly different way.

If you do cmd+o you can start typing the name of your file.

That way you can see if that file already exists.

If it already exists you can access it with enter.

If it doesnt exists you can click shift+enter that will create a new file and ignore the suggestions.

For folders

I can see you work with folders, so if you want to create a note inside an specific folder you can do that after clicking cmd+o bt writing the folder name and the slash symbol /


After doing cmd+o you would write:
folder1/new note

That puts you inside that folder, where you can both search, or create new notes in there.

Now that new note is created in that folder, or if the file already exists then you can simply access it with enter

Hope that helps!


After doing cmd+o you would write: folder1/new note

This trick works.

But is regressive if I may say. Because for this, first I have to remember the exact hierarchy of folders with their exact spellings and after doing that, I have to type the entire path (note: there’s no autocomplete functionality for folders which should be a feature in itself. Somethings similar to Alfred can be done – type to search file, add space or " ’ " in the beginning to search folder).

So, I am forced to go back to my previous method of creating file.

1 Like

A couple of alternatives:

Create files from links

if you have a lot of folders do:

Settings > File > Default Location For New Notes > Vault folder

this way you can be in a file and create a [[link to create new note]] inside the same folder you are in.

Text exapansion alternative

With this method from my previous reply:

You could use Alfred, Tex Expander, Espanso or any other text expander to quickly write your folder names, making it extremly quick to do.

Personally I only create links from other notes with [[double brackets]] so I don’t have this problem.

My point is that there are a lot of better ways to learn how to organize your notes and create files without any issues.

I would argue that this isn’t an Obsidian issue, but more about finding a better workflow

1 Like

Seconding this. Just hit Command - N repeatedly, and end up with a new Untitled file every time (Untitled 1, Untitled 2, …)

Here’s what should happen: if there’s a blank file named Untitled already, and user hits Command - N, just open that existing file!