Matthew Butterick
Matthew Butterick

Reputation: 1074

In Chrome, what's the simplest way to view the mime type of a document?

In Firefox, you can select "View Page Info" from the right-click menu, and the mime type will be displayed.

But the same "View Page Info" command in Chrome does not show the mime type.

Feels like I'm overlooking something obvious.

Upvotes: 27

Views: 45855

Answers (2)

Prancer
Prancer

Reputation: 3546

Earlier & later versions of Chrome may be slightly different

Chrome v50.0.2661.102 m

To open Chromes developer tools (several options):

  1. Menu -> More Tools -> Developer Tools
  2. Ctrl + Shift + I
  3. Hit the F12 key

Once open, select the Network tab, select the name of the resource on the lefthand side, then hit the Headers tab. Under Response Headers find Content-Type which is your mime type.

enter image description here

With images you can select the Preview tab and you will be able to see some information about the resource, including the mime type, located at the bottom of the developer window.

enter image description here

Upvotes: 26

Łukasz Wojciechowski
Łukasz Wojciechowski

Reputation: 936

Hit F12 and then go to Network tab. If you want html document then narrow the filter to Documents (on the bottom).

Upvotes: 12

Related Questions