Skip to main content
FixMyTech

How to Open a File When You Don't Have the Program

By

Published

8 min read

Share

Short answer

Identify the extension first — turn on File name extensions in File Explorer's View menu if Windows is hiding it. For Office files, upload to the free web versions of Word, Excel or PowerPoint at office.com, or to Google Drive. For anything else, LibreOffice opens an unusually wide range of formats free, and the file's extension tells you which category you are dealing with.

On this page

Someone has sent you a file your computer refuses to open, and the dialog offering to search the Microsoft Store for an app is not helping. In most cases you do not need to buy anything, and in a good number of cases you do not need to install anything either.

The useful first move is not hunting for software. It is working out what the file actually is, because the extension narrows the answer from thousands of programs to about two.

Step one — see the extension

Windows hides file extensions by default, which is how people end up with no idea what they are looking at.

  • Windows 11: File Explorer → View → Show → tick File name extensions.
  • Windows 10: File Explorer → View tab → tick File name extensions.
  • macOS: Finder → Settings → Advanced → tick Show all filename extensions.

Now the file reads report.docx rather than report, and you know what you have.

If there is no extension at all

Files lose extensions in transit, particularly through some email systems and chat apps. Open the file in Notepad or TextEdit and read the first line of gibberish. The opening bytes identify the format:

First characters What it is
PK A ZIP archive, or any modern Office file (.docx, .xlsx, .pptx)
%PDF A PDF
ÿØÿ or JFIF visible A JPEG image
‰PNG A PNG image
{\rtf Rich Text Format
Readable text throughout Plain text, CSV, XML, JSON or similar

Rename the file with the right extension and Windows will know what to do with it. Do not do the reverse and rename a file to an extension it is not — that converts nothing and only makes the wrong program fail on it.

Office files — the easiest category

Word, Excel and PowerPoint files have free readers that are genuinely good.

The web versions of Office. Sign in at office.com with a free Microsoft account and upload the file, or open it directly from OneDrive. The browser versions of Word, Excel and PowerPoint read standard files faithfully and let you edit most of them. They have limits — very large workbooks, macro-enabled files and some older formats do not work well — but for reading something someone sent you, this is the fastest route and costs nothing.

Google Drive. Upload the file and double-click it. Drive previews Office formats and will convert to Docs, Sheets or Slides if you want to edit. The conversion is approximate for complex layouts, so use the preview for fidelity and the conversion only if you need to change something.

LibreOffice. A free desktop suite that opens Word, Excel, PowerPoint, the legacy .doc, .xls and .ppt formats, OpenDocument files, and a long list of obscure ones. Install it once and most of the file-opening problems on a Windows PC stop happening. Fidelity on complex Word layouts is good but not perfect, which is the same caveat as everything that is not Word.

Your phone. The Microsoft 365 and Google Docs mobile apps both open Office files free. Emailing yourself the attachment and tapping it on a phone is sometimes the shortest path to simply reading a document.

The rest, by category

Extension What it is Open it with
.pages, .numbers, .key Apple iWork iCloud.com in any browser, free account
.psd Photoshop Photopea in a browser, or GIMP
.ai, .indd Adobe Illustrator / InDesign Photopea handles .ai; InDesign needs the real thing
.dwg, .dxf CAD drawings Autodesk’s free online viewer
.heic iPhone photos Built into Windows 11; otherwise convert
.epub, .mobi Ebooks Calibre, or any browser extension reader
.7z, .rar, .tar.gz Archives 7-Zip, free and handles all of them
.mkv, .flac, .webm Media VLC, which plays essentially everything

Two of those deserve a note. .indd files genuinely require InDesign; there is no viable free viewer, and the honest answer is to ask the sender for a PDF. And .heic photos from an iPhone are common enough that we cover them properly in opening HEIC photos on Windows 11, with a HEIC to JPG converter if you just need the image.

Looking inside a modern Office file

Any .docx, .xlsx or .pptx is a ZIP archive. Copy it, rename the copy to .zip, and open it. You get the document’s XML, every embedded image at full resolution in a media folder, and anything else that was packed in.

This is a legitimate recovery route when a file will not open properly: the images are intact even when the document is not, and the document.xml inside a .docx contains your text, surrounded by markup but readable.

When Windows knows the format but still refuses

A file whose extension is familiar but which Windows will not open is an association problem, not a format problem.

  1. Right-click the file → Open with → Choose another app.
  2. Pick the correct program from the list.
  3. Tick Always use this app to open .xyz files.

If the right program is not listed, scroll down and choose Look for another app on this PC, then browse to the program’s .exe. Associations commonly break when a program is uninstalled whilst still holding the file type.

Online converters, and when not to use them

Search for any file extension plus “converter” and you will find a dozen sites that take an upload and hand back a PDF. They work, and for a public document they are fine.

They are not fine for anything confidential. Your file goes to a server you know nothing about, under retention and processing terms you have not read, and “deleted after one hour” is a claim rather than something you can verify. A contract, a payslip, medical paperwork or anything with other people’s personal data should be opened locally.

The local alternative is almost always LibreOffice, VLC or 7-Zip depending on the category, all free and none of which upload anything.

What to do when nothing opens it

Occasionally a file is genuinely proprietary with no free reader, or it is corrupt rather than unopenable.

Tell the two apart by size. A file of a few bytes, or one that is exactly zero, did not arrive properly and no software will rescue it — ask for it again, ideally through a link rather than an attachment. A file of a plausible size that no reader accepts is more likely damaged in a specific way, and recovering a corrupted Word or Excel file covers what is worth trying.

Otherwise, ask the sender to export it to something standard. A PDF for reading, a .docx for editing, a .csv for data. Most people send their native working file without thinking about it, and will happily send something else if asked. That is usually a thirty-second request against an hour of hunting for software you will use once.

Frequently asked questions

How do I find out what a file is if it has no extension?
Open it in a plain text editor such as Notepad and look at the first few characters. PK at the start means a ZIP-based format including modern Office files, %PDF means a PDF, and a run of readable text usually means it is a text or data file that simply lost its extension.
Is it safe to upload a file to an online converter?
For anything non-sensitive, generally yes from a reputable service. For anything confidential, assume the file is now on someone else's server with retention terms you have not read. Install a local viewer instead when the content matters.
Can Windows open a file by renaming the extension?
Sometimes, but only when the extension is wrong rather than the format being unknown. Renaming a .docx to .pdf does not convert anything, it just makes the wrong program try to read it. The one genuinely useful case is renaming a modern Office file to .zip to inspect its contents.
Does the free online version of Office open everything?
It opens standard Word, Excel and PowerPoint files well. It struggles with very large workbooks, files containing macros, and some legacy formats, and certain advanced features are read-only or missing. For reading a document someone sent you, it is almost always sufficient.
Why does Windows say it does not know how to open a file it created?
Usually the file association was lost or claimed by a program that has since been uninstalled. Right-click the file, choose Open with, then Choose another app, pick the correct program and tick the box to always use it.

All Office guides