To encrypt file names in a 7Z archive, create the archive in 7Z format, set a password with AES-256 encryption and turn on the option to encrypt or hide file names (often labeled Encrypt file names). Anyone who opens the archive is then asked for the password before they can see the file list at all. ZIP cannot do this: even an AES-256 encrypted ZIP shows every file name, size and date to anyone who opens it.
This guide explains why hiding names matters, how the option works, how to set it up on Windows, and the mistakes that quietly undo it.
Why file names need protecting too
Encryption protects what is inside each file. But in most archives the list of names sits outside that protection, in plain view. That list can say a lot on its own:
Smith-divorce-settlement-draft.docx2026-salaries-all-staff.xlsxbiopsy-results-march.pdfacquisition-target-Q3-shortlist.pptx
Nobody needs to open these files to learn something sensitive. If the archive is forwarded to the wrong person, left on a shared drive or stored in a cloud folder, the names alone can leak client identities, legal matters, health details or business plans. Folder names count too: a folder called Redundancies tells a story by itself.
Hiding the names closes that gap. Without the password, the archive is just an opaque block of data with a file name you chose.
Why ZIP cannot hide file names
A ZIP file stores a central directory at the end: a table of every entry with its name, size, date and position. When you encrypt a ZIP, whether with the old ZipCrypto method or AES-256, only the file data is encrypted. The central directory stays readable so that programs can list the contents without a password.
That is why you can open an encrypted ZIP in File Explorer and see every name, then get a password prompt only when you try to open a file. There is no widely supported way around this in the standard ZIP format.
The 7Z format stores its file list in a header that can be encrypted along with the data. When header encryption is on, the archive program cannot show anything until you supply the password, because it cannot read the list.
| What is protected | ZIP with AES-256 | 7Z with AES-256 | 7Z with AES-256 and hidden names |
|---|---|---|---|
| File contents | Yes | Yes | Yes |
| File and folder names | No | No | Yes |
| File sizes and dates | No | No | Yes |
| Number of files | No | No | Yes |
| Opens without extra software | Partly (names visible, AES needs a program) | Windows 11 23H2+ for plain 7Z only | Needs an archive program |
How to create a 7Z with hidden file names
Universal Zip creates 7Z archives with AES-256 encryption and can hide the file names until the password is entered. The steps:
- Select the files or folder you want to protect in File Explorer.
- Right-click and choose Add to archive. On Windows 11, click Show more options first if the entry is not on the short menu.
- Set the format to 7Z. The hide names option is not available for ZIP.
- Choose a compression level. Normal is fine for most jobs.
- Turn on encryption, choose AES-256 and type a strong password twice.
- Tick the option to encrypt or hide file names.
- Give the archive a neutral name, then create it.
Now test it. Close the program, double-click the new archive and confirm that you are asked for the password before you see any contents. If the file list appears first, the option was not applied and you should create the archive again.
Name the archive itself carefully. Hiding the names inside is pointless if the archive is called Smith-divorce-papers.7z. Use something neutral such as case-0417.7z or documents-2026-10.7z.
Choosing a password that holds up
AES-256 is strong, but an archive is only as safe as its password. Someone who has the file can try passwords offline as fast as their hardware allows, with no lockout.
- Use length. Four or five random words, or 14 or more mixed characters, is a sensible minimum for sensitive files.
- Do not reuse a password from email or online accounts.
- Avoid anything guessable from the file or the recipient, such as the client name plus a year.
- Store it safely. If you lose the password, nobody can recover the files, including you. Universal Zip has a built-in password manager that remembers the archive passwords you use most, which helps when you make protected archives regularly.
For a deeper look at the encryption itself, see how to encrypt files with AES-256 on Windows.
What the recipient needs
A 7Z with hidden names needs an archive program that supports 7Z encryption. File Explorer in Windows 11 version 23H2 and later can open ordinary 7Z files, but its built-in support does not handle encrypted archives. Tell the recipient in advance that they will need a program that opens encrypted 7Z files, and send the password through a different channel from the file.
If the person cannot install software, a self-extracting EXE is another option, though many email systems block EXE attachments, so it suits shared drives and download links better than email. Our guide on sending confidential files by email covers the full sending routine.
Common mistakes that undo the protection
Converting or re-saving as ZIP
If someone extracts your 7Z and re-zips the files to pass them on, the names become visible again. Make it clear that the files should stay in the protected archive.
Leaving extracted copies behind
Extracting to the Desktop or a Downloads folder leaves plain copies that anyone using the PC can read. Extract to a protected location and delete the copies when you finish.
Adding files later without the option
When you add files to an existing encrypted archive, check that the result still asks for a password before showing the list. If you are unsure, build a fresh archive with all the files and the option switched on.
Splitting without testing
Hidden names work with split volumes, but test the full set after splitting: open the first part and confirm the password prompt appears before the list. If a volume is missing or damaged, the archive cannot be read, so keep the originals until the recipient confirms. See how to split a large file into smaller parts for the details.
When hiding names is worth it
Turn it on whenever the names, folder structure or number of files could reveal something on their own: legal, HR, medical, financial or client work, and personal records such as tax returns or ID scans. For everyday archives of non-sensitive files it adds a step for the recipient with little benefit, so a plain password, or no password, is fine.
As a rule of thumb: if you would not be comfortable reading the file list aloud in a meeting, encrypt the names.
Frequently asked questions
Why would I hide file names in an archive?
File names can reveal sensitive details, like client names, salaries or medical topics, even when the contents are encrypted.
Can ZIP files hide file names?
No. Standard ZIP encryption protects the file contents, but the list of file names stays visible to anyone who opens the archive.
What happens when someone opens a 7Z with hidden names?
They are asked for the password before they can see anything. Without it, the archive does not show its file list.
