If a File Extension Is Not in the File Name?

Upload and start working with your PDF documents.
No downloads required

How To Type on PDF Online?

Upload & Edit Your PDF Document
Save, Download, Print, and Share
Sign & Make It Legally Binding

Easy-to-use PDF software

review-platform review-platform review-platform review-platform review-platform

If a file extension is not in the file name, and not because it is hidden, such as a .pdf, how do you determine its file type?

Why post a question like this Anonymously? Please be real. I’d simply downvote because it is a needlessly anonymous question. Needlessly because it is a technical, not personal question. But really, “no extension”? If it is because you cannot SEE the extension, when you can see the extensions of other files in Windows (pre-Windows 10)/File (Windows 10) Explorer? If NO extensions are showing, it is because you have that option turned on. Change it. If it actually has NO extension - Do.Not.Double-Click to open - unless you totally trust the source. It could be a malware executable. Open notepad and then drop the file on it. Notepad will not execute a program. If you can read text in the file, you have a good hint. For example, PDF files have %PDF as the first few characters*. (Though I just tried this on one with notepad and got Chinese characters! Opening it with a text editor showed the %PDF.) The Office *x files, such as docx, xlsx, etc, are actually zip archives, so opened in notepad, the first two characters are PK (a throwback to the PKZIP program.) Unzipping a zip archive will not execute a contained program, so you could chance unzipping, with File Explorer or an archiving program such as 7zip. If you see gobbledygook characters and nothing recognizable, it is probably binary, and hence could be an executable. Go back to the source. If it came by email, ask the sender. If you downloaded it, recheck the site or try to get it from another site, or the provider. *PDF files can contain embedded malware executables, so still be cautious if the source is suspicious. I’m answering “How do I open a file with no extension?” posted anonymously, with the hope that it may help and protect someone else, sometime.

Customers love our service for intuitive functionality



46 votes

Type on PDF: All You Need to Know

You can read the rest of this answer at the original answer thread.

Supporting Forms

Submit important papers on the go with the number one online document management solution. Use our web-based app to edit your PDFs without effort. We provide our customers with an array of up-to-date tools accessible from any Internet-connected device. Upload your PDF document to the editor. Browse for a file on your device or add it from an online location. Insert text, images, fillable fields, add or remove pages, sign your PDFs electronically, all without leaving your desk.