Embed the lookup widget
Drop a file extension lookup into your own site with one snippet of HTML.
The WhatFileType widget lets your visitors look up any file extension without leaving your page. It is a single lightweight iframe with no sign-up, and links each result to the full details. Paste one of the snippets below wherever you want it.
Live preview
Basic embed
Paste this where you want the widget to appear.
<iframe src="https://whatfiletype.com/widget" title="File extension lookup by WhatFileType" width="100%" height="240" style="border:0;max-width:440px;" loading="lazy" ></iframe>
Centered, responsive
Wrap it to cap the width and center it in a column.
<div style="max-width:440px;margin:0 auto;">
<iframe
src="https://whatfiletype.com/widget"
title="File extension lookup by WhatFileType"
width="100%"
height="240"
style="border:0;"
loading="lazy"
></iframe>
</div>Good to know
- The widget is a static page, so it loads fast and never rate-limits.
- Each result opens the matching WhatFileType page in a new tab, keeping visitors on your site.
- A small "Powered by WhatFileType" link sits at the bottom. Please keep it, it is how people find the tool.
- Set the iframe height to about 240px for the default layout.
Prefer raw data?
If you want to build your own interface, the same information is available from the free JSON API.