viewhack

Open a password-protected Word, Excel or PowerPoint file with your password

You were sent a locked .docx, .xlsx or .pptx and told the password, but this Chromebook, phone or work PC has no Office. Drop the file here and type the password: it is decrypted in this tab and opens in the Word, Excel or PowerPoint viewer, with a button to save a copy that no longer needs the password.

The file and the password stay on your device. Nothing is uploaded, and the password is not stored.

What it does

What it cannot open

Useful to know about password-protected Office files

A locked .docx is not a ZIP any more
An ordinary .docx, .xlsx or .pptx is a ZIP of XML files. With a password to open, Office encrypts that whole ZIP and wraps it in an old-style compound file (the same container as a .doc from 1997), holding two streams: EncryptionInfo, which says how it is locked, and EncryptedPackage, the encrypted ZIP. That is why an unzip tool says a locked .docx is not an archive, and why the any-file page names it as a password-protected Office file from its bytes.
How strong the lock is
Office 2013 and later use AES-256 and run the password through SHA-512 100,000 times before it becomes a key; Office 2010 used AES-128 with SHA-1, and Office 2007 used AES-128 with SHA-1 50,000 times. The 100,000 rounds are there to make guessing slow. With the right password that costs well under a second here; for someone guessing, it is 100,000 hashes per guess. A short or common password can still be guessed offline, so a long one matters more than the algorithm.
LibreOffice files
An encrypted .odt, .ods or .odp stays a ZIP. Its mimetype and the list of parts in META-INF/manifest.xml are readable; each part is encrypted separately (AES-256-CBC, key from PBKDF2-HMAC-SHA1 over SHA-256 of the password), and the manifest keeps a checksum of the first 1,024 bytes of each part, which is how a wrong password is noticed.
The password and this page
The password field has autocomplete turned off and is emptied as soon as you press Unlock. The password is not written to browser storage, cookies, the address bar or the console, and the page sends no request containing it; the only request this page makes that is not part of viewhack itself is the page-view count when it loads, before any file is chosen.