Files

How to organize files into folders by type, date or name

A crowded Desktop or Documents folder is slow to search and tiring to look at. Here is how to sort it into tidy folders by hand, and then how to ask Key to do it for you.

21 October 20266 min read

Most messy folders have the same problem: everything landed in one place and nothing ever moved out. The fix is simple. Make a few folders, then move files into them. This guide shows you how, and how to choose a way of sorting that you will actually keep up.

Pick one way to sort first

Before you move anything, decide how you want to find things later. There are three common ways, and you can pick just one.

  • By type: folders like Photos, Documents, Spreadsheets and PDFs. Good for a Downloads folder or a Desktop full of mixed files.
  • By date: folders like 2025 or 2026, or by month inside a year. Good for bills, receipts, photos and anything you look up by when it happened.
  • By name or topic: folders like Taxes, House, School or Work. Good for Documents, where files belong to a project or a part of your life.

If you are unsure, start with type. It is the quickest, and you can always sort further inside each folder later.

Work on a copy of the plan, not on your whole disk. Pick one folder, such as your Desktop, and finish it before you start another.

Sort files into folders on Windows

You do this in File Explorer, the window that shows your files.

Make the folders

  1. Open File Explorer and go to the folder you want to tidy, for example Documents.
  2. Press Ctrl + Shift + N. A new folder appears with its name highlighted.
  3. Type a name, such as Photos or 2026, and press Enter.
  4. Repeat for each folder you planned.

Line your files up so they are easy to pick

Sorting the list first makes similar files sit side by side, so you can grab them in one go. Use the Sort and View choices on the ribbon at the top of File Explorer, or in the Details view click a column heading such as Name, Date modified or Type. Click it again to flip the order.

Move the files

  1. Click the first file you want to move. Hold Shift and click the last one to select a whole run of files. Hold Ctrl and click to pick files that are not next to each other.
  2. Press Ctrl + X to cut them.
  3. Open the folder they belong in.
  4. Press Ctrl + V to paste them there.

You can also drag the selected files onto a folder. Cut and paste is a little safer, because it is hard to drop files in the wrong place by accident.

Sort files into folders on a Mac

On a Mac you work in Finder. Apple's own help describes the same plan: create folders, then move things into them.

Make the folders

  1. Open Finder and go to the place you want to tidy, such as Documents or the Desktop.
  2. Choose File › New Folder, or press Shift + Command + N.
  3. Type a name and press Return.

Group and sort the list

Finder has a Group button in the toolbar. It gathers items together, for example by date last opened. You can also sort by name, and Finder can keep folders at the top of the list, so your new folders stay easy to see.

Move the files

  1. Select the files. Hold Command and click to pick several, or Shift and click to pick a run.
  2. Drag one of the selected files onto the folder. All the selected files move together.

Here is a handy shortcut. Select several files, Control-click one of them, and choose New Folder with Selection. Finder makes a new folder and puts those files straight into it.

If you hold Option while you drag, you place a copy in the folder and the original stays where it was.

Tips for keeping it tidy

  • Keep the names short and plain. A folder called Bills 2026 is easier to trust than Misc stuff new.
  • Do not go too deep. Two levels of folders, such as year then month, is plenty for most people.
  • Leave one folder for things you have not sorted yet. It is fine to have an Inbox folder, as long as you empty it now and then.
  • Do not delete to make space. If you are not sure about a file, move it to a folder called Later and decide another day.

If your mess is mostly in Downloads, our guide on cleaning up your Downloads folder without losing anything goes into more detail. And if a file has gone missing in the shuffle, see how to find a file by what is inside it.

Ask Key to sort the files for you

Doing this by hand works, but it is a long job when you have hundreds of files. Key is a free assistant that lives on your computer. It opens your folders, finds your files and tells you what it did. You can speak to it or type to it, and both give the same result.

Ask in plain words, and half a sentence is enough. One of the things people ask Key is "Empty my Downloads into folders". Here is how that could look:

KeyChat

Empty my Downloads into folders

opened Downloadsmade folders for photos, documents and installersmoved each file into its folder

Your Downloads are sorted into folders by type, and nothing was deleted.

Checked: the Downloads folder now holds only the new folders, and each file is inside one of them.

Key works in the real windows you already use, so you can watch it as it goes. While it is working it shows a small panel with what it is doing, and you can stop it at any point.

Two of Key's built-in rules matter when you tidy up. It never deletes for good: anything it removes goes to the Recycle Bin or the Trash, and there is no permanent delete in the program at all. And it never says it is done without checking. It reads the result back before it reports, and if it could not check, it tells you.

Some ways to ask

  • "Empty my Downloads into folders"
  • "Find the electricity bill from March and put it on my Desktop"
  • "Where did that download go?"

Key finds files by what is inside them, not just by the name, so it can tell a bill from a photo even when the file is called something unhelpful. If two files could both be the one you meant, it asks you which.

A simple plan to start today

  1. Pick one messy folder, such as the Desktop.
  2. Choose one way to sort: type, date or name.
  3. Make five or six folders and move the files in, by hand or by asking Key.
  4. Look through the result, and put anything in the wrong place where it belongs.

Ten minutes on one folder is enough to feel the difference. Once it is tidy, a quick sort once a week keeps it that way. To learn more about what an assistant can and cannot do on your computer, read is it safe to let an AI assistant use your computer?

Try Key free

Speak to it or type to it. It opens your apps, finds your files and changes your settings, then tells you what it did.

Free, no card. Windows 10 or 11, macOS 11 or newer.

More guides