Earthquake Map Widget for Your Website
LK Forge · 4 min read · Updated September 2026
You can add a live earthquake map to any website, blog, or dashboard with a single line of code — free, with no sign-up, no plugin, and no script to install. It shows recent earthquakes worldwide straight from the USGS feeds, with magnitude, depth, location and time, and can sort by distance from any place you choose. This guide covers the fastest way to embed the Earthquake Tracker, how to centre it on a place, how to preset the filters, and how to match it to your site’s theme.
The quickest way: paste one embed snippet
An embed is just an <iframe> that loads the map from lkforge.com, plus a small credit line. Copy this into your page’s HTML where you want the map to appear:
<iframe src="https://lkforge.com/embed/earthquake-tracker/?place=Tokyo"
width="100%" height="720" loading="lazy"
style="border:0;max-width:760px"
title="Earthquake Tracker by LK Forge"></iframe>
<p><a href="https://lkforge.com/tools/earthquakes/">Earthquake Tracker</a>
by <a href="https://lkforge.com/">LK Forge</a></p> The <iframe> is the live map; the <p> underneath is a plain credit link. Keep that line — the visible link is what keeps the widget free to embed. Drop the ?place=Tokyo for a plain worldwide map.
Centre it on a place with ?place= or ?region=
To point the map at somewhere specific, add a place or region to the URL — ?place=Tokyo, ?place=Los+Angeles or ?region=California. The widget geocodes it, centres the map there, and sorts the list by distance from that point, so the closest quakes come first. To trim it to a radius, add ?maxdist=200 — read in miles when ?units=mi, otherwise kilometres.
Preset the filters with ?mag=, ?period= and ?units=
You can lock the widget to a magnitude floor, a time window and a distance unit so it loads exactly the view you want:
?mag=— minimum magnitude:1,2.5,4.5orsignificant.?period=— time range:hour,day,weekormonth.?units=— distances inkmormi(defaults to showing both).?embed=nomap— hide the map and legend for a compact, list-only widget; pair with?limit=10to shorten the list.
Parameters combine with &, for example /embed/earthquake-tracker/?region=Japan&mag=4.5&period=week&units=mi.
Match your site with ?theme=
By default the embedded map stays light. To lock it to one theme — so a dark blog always gets a dark map — add a theme parameter:
https://lkforge.com/embed/earthquake-tracker/?place=Tokyo&theme=dark Use &theme=dark or &theme=light. The card background is transparent, so the dark theme sits cleanly on a dark page and the light theme on a light one.
Where it works
Because it is a standard iframe, the embed works anywhere you can add HTML:
- WordPress: add a Custom HTML block and paste the snippet.
- Squarespace: use a Code / Embed block.
- Wix: add an Embed HTML / iframe element.
- Ghost: insert an HTML card.
- Notion: paste the
/embed/earthquake-tracker/URL and choose "Create embed". - Plain HTML, an intranet, or a dashboard: paste the snippet straight into the markup.
That’s the whole job. Pick a place, preset the filters and theme to taste, and paste the snippet wherever a local-news page, a travel site, or an emergency dashboard needs live earthquake data at a glance. Explore the full view first on the Earthquake Tracker.
Open the live Earthquake Tracker to explore the map and filters, then copy the embed snippet above — free, no sign-up.
Open the Earthquake TrackerFrequently asked questions
- Is embedding the earthquake tracker free?
- Yes. The earthquake map is free to embed on any site, with no account, no API key and no usage limits. The quake data comes straight from the public USGS feeds and is fetched in your visitor’s own browser, so there is no server cost — we only ask that you keep the small "Earthquake Tracker by LK Forge" credit line that comes with the embed code.
- Can I centre the map on a specific place or region?
- Yes. Add a place or region to the URL — for example /embed/earthquake-tracker/?place=Tokyo or ?region=California. The widget geocodes the place, centres on it and sorts the list by distance from that point, so the nearest quakes come first. To show only nearby quakes, add ?maxdist=200 — the number is read in the display unit (miles with ?units=mi, otherwise kilometres) and needs a place set.
- Can I make the embedded map dark (or light) to match my site?
- Yes. By default the map stays light. To force a theme regardless of the visitor’s device, add ?theme=dark or ?theme=light to the embed URL. The card background is transparent, so the dark theme blends straight into a dark page.
- Can I preset the magnitude and time filters?
- Yes. Use ?mag= (1, 2.5, 4.5 or significant), ?period= (hour, day, week or month) and ?units= (km or mi). For a compact, list-only widget with no map, add ?embed=nomap; to shorten the list, add ?limit=10. Parameters combine, such as ?region=Japan&mag=4.5&period=week&units=mi.
- Where can I embed it — WordPress, Wix, Squarespace, Notion?
- Anywhere you can add HTML, because it is a standard iframe. In WordPress use a Custom HTML block; in Squarespace a Code/Embed block; in Wix an Embed HTML element; in Ghost an HTML card; in Notion paste the /embed/earthquake-tracker/ URL as an embed. On a plain HTML page or an intranet, paste the snippet straight into the markup.
- Does the embedded map track visitors or set cookies?
- No. The widget fetches public USGS earthquake data and, only if the visitor allows it or you set a place, geocodes a location to sort by distance. It sets no tracking cookies and sends no analytics from the embed, so it is safe on a privacy-sensitive site or an intranet.