English

Free weather widget for your website

Pick your city and style, preview it live, then copy the code into your site. Visitors see current conditions and up to a 7-day forecast.

Free No sign-up Mobile friendly
Preview
Embed code

What is a weather widget?

A weather widget is a small box on your website that shows the current temperature, conditions and the forecast for the coming days. Visitors get the information right where they are, without opening another website.

It is especially useful for travel and tourism blogs, hotels and guesthouses, local news, real estate and event sites, and any business whose customers care about the weather in a particular place.

How to add it to your site

Adjust the settings above and press Copy code. Then follow the steps for your platform:

  1. In the page or post editor, add a Custom HTML block.
  2. Paste the code into the block.
  3. Update or publish the page.

Features

Now and the next daysTemperature, feels like, wind, humidity and a forecast of up to 7 days.
Matches your siteLight or dark theme, accent color, width and corner radius.
19 languagesDay names and conditions in the language you choose, in °C or °F.
LightLoads after your content in its own isolated box, so it doesn't slow your page.

One city or a whole country

In One city mode the widget shows the city you pick. If you enable Visitors can change the city, a small search appears in the widget so each visitor can switch to their own city.

In Country mode visitors choose from that country's city list: all 81 provinces for Turkey and up to 100 of the largest cities for other countries. The chosen city is remembered in the visitor's browser and shown again on the next visit.

Where does the data come from?

Forecasts come from the Norwegian Meteorological Institute (MET Norway) under the CC BY 4.0 licence. Data is cached on our servers and refreshed when MET Norway publishes a new forecast, so your visitors' browsers never contact a third party. City lists are based on GeoNames data.

Frequently asked questions

Is the weather widget free?

Yes. It is completely free and needs no sign-up or API key.

Can I show several cities?

Create a separate code for each city and place them side by side on your page, or use country mode and let visitors choose.

How often is the data updated?

Forecasts are refreshed as MET Norway publishes new data; each location is kept in our cache for at least 30 minutes between updates.