Popular guide · Updated for 2026

Free Weather Widget for Websites Without a Separate API

A weather widget sounds like a small feature. Add a city, show the temperature, paste a little code into a page. That’s it.

That is how it should work. In reality, adding weather to a website often means combining several separate products: a widget or plugin, an account with a weather-data provider, an API key, usage limits, localization settings, and another script loaded from somewhere else.

We wanted to make that process simpler.

Meteoprog Weather Widget brings the builder, weather data, location search, widget management, and delivery into one system. You configure the widget, copy the generated code, and add it to your website. There is no separate third-party weather API account to set up.

The setup stays simple on the surface, but the widget is backed by broad location coverage, built-in weather data, and localization for international websites.

Coverage
2,150,000+
Populated locations worldwide
Language variants
37
Available in the published weather widget
Weather data
Built in
Meteoprog provides the weather data and delivers the widget

Everything runs through Meteoprog

The widget uses Meteoprog’s own infrastructure for location search, current conditions, and forecasts. The published widget is delivered through the Meteoprog CDN.

For the website owner, the workflow is straightforward:

1
Step 1
Choose a layout
Start with Simple, Standard, or Maximum.
2
Step 2
Configure the widget
Select the location, language, weather details, and design.
3
Step 3
Copy the code
The builder generates ready-to-use embed code.
4
Step 4
Publish it
Add it to a regular website or connect it to WordPress.

For WordPress, the optional integration uses a separate free Informer API key to retrieve the widgets created in your Meteoprog account.

The published widget loads through an asynchronous JavaScript loader, so the main script is fetched separately from the initial page markup. You can also place several widgets on the same page, each with its own informer ID.

The main benefit is not one isolated feature. It is that the entire setup stays in one place.

Free to use, without a separate API subscription

Meteoprog weather widgets are free to use. Meteoprog does not publish a usage limit for the widgets themselves.

You can create several widgets, preview them, copy their embed code, and manage them from your Meteoprog account.

One distinction is worth making:

Free product
Meteoprog Weather Widget
An embeddable weather widget with no published usage cap.
Commercial product
Direct weather-data access for developers and business integrations.

Using the free widget does not provide free or unlimited access to the commercial API. It simply means you do not need to buy an API subscription to place the widget on your website.

Weather for more than 2.15 million locations

The Meteoprog location database covers more than 2.15 million populated locations worldwide.

That matters because many weather tools work well for capitals and major cities but become less useful for regional projects. A local newspaper, hotel, municipal portal, or event website may need weather for a small town rather than the nearest large city.

With Meteoprog, you can search for a location by name and create a widget for many smaller communities and local destinations as well as major cities.

A hotel can show weather for the place its guests are actually visiting. A regional news site can publish conditions for its own town. A property website can add local weather to destination or area pages.

Global database, local use
Weather coverage should extend beyond capital cities
Coverage matters most when a website serves a specific town, resort, district, or regional community rather than a global audience.
Local media
Hotels
Events
Regional portals

A fixed city or the visitor’s approximate location

The widget supports two main ways to choose what location visitors see.

Fixed location
One saved city for every visitor
Best for hotels, local media, city portals, events, schools, and destination pages.
IP-based location
Approximate local weather for each visitor
No browser GPS prompt is shown. Accuracy depends on the network and IP geolocation.

Show one fixed location

You select a city while creating the widget. That city is saved in the settings, and every visitor sees weather for the same place.

This works well for hotels, local news websites, city portals, event pages, property listings, schools, and universities.

Detect the visitor’s city by IP

You can also enable location_by_ip. In that mode, the published widget can choose a location based on the visitor’s IP address.

This does not trigger a browser GPS permission request. It is less intrusive, although IP geolocation is naturally approximate and can be affected by mobile networks, internet providers, corporate gateways, and VPNs.

GPS is used only in the builder

Browser GPS is available while creating the widget, but only to help the creator find a nearby location more quickly.

The published widget does not ask website visitors for GPS access.

Built for multilingual websites

The weather widget supports 37 language variants.

The language can be selected manually or detected automatically. Dates are formatted for the selected locale, Celsius and Fahrenheit are both available, and Arabic is displayed with right-to-left text direction.

This makes the widget useful for multilingual projects, travel websites, international businesses, and regional networks that publish similar pages in several languages.

The weather widget and the WordPress plugin have separate localization coverage. The widget itself supports 37 language variants, while the current WordPress administration interface is translated into 8 languages.

Language variants
37
Choose the language manually or let the widget select it automatically.
Arabic support
RTL
Right-to-left layout is supported for Arabic.
Regional units
°C / °F
Choose the temperature unit that matches your audience.
English Español Deutsch Français Português Українська العربية 日本語 中文 +28 more

Three layouts, depending on how much you want to show

We currently provide three main layouts.

Meteoprog Weather Widget builder showing the Simple, Standard, and Maximum templates
Choose a widget template in the Meteoprog builder: Simple, Standard, or Maximum.

Each template provides a different starting layout for the same weather widget. Choose the one that fits your available space, then adjust the size, colors, and visible weather sections in the builder.

Simple
144 px
Current temperature and weather icon for compact spaces.
Standard
275 px
Current conditions with a text description.
Maximum
300 px
Hourly and daily forecasts with additional weather parameters.

Simple

Simple is the smallest option, with a default width of 144 pixels. It focuses on the current temperature and weather icon.

It works well in a header, sidebar, compact dashboard, or any space where a full forecast would be too much.

Standard

Standard has a default width of 275 pixels. It adds a text description of the current conditions and is a practical choice for most sidebars and content blocks.

Maximum

Maximum has a default width of 300 pixels and can include the most detail:

  • current conditions;
  • a weather description;
  • additional weather parameters;
  • an hourly forecast;
  • a daily forecast.

The daily forecast currently shows up to three days.

Choose what the widget displays

The widget can be kept very small or expanded with more weather information.

The current-conditions section may include:

  • location name;
  • local date and time;
  • current temperature;
  • weather icon;
  • a text description;
  • a background that changes with the weather and time of day.

The hourly forecast can show time, temperature, icons, and sunrise or sunset markers. Visitors can move through the hourly strip horizontally.

Additional parameters are optional and can be enabled individually:

  • wind speed;
  • humidity;
  • precipitation probability;
  • atmospheric pressure;
  • UV index.

A small local website can use a simple temperature card, while a travel or news project can display a more detailed forecast.

Customize it without editing CSS

Visual settings are configured in the Meteoprog builder.

You can change:

  • width from 140 to 500 pixels;
  • corner radius;
  • primary and secondary text colors;
  • light or dark icons;
  • solid or dynamic weather backgrounds;
  • border color and thickness;
  • shadow;
  • individual weather sections.

The widget adjusts its internal layout for the configured width.

Current limitation
Width is configured in pixels
The builder supports widths from 140 to 500 pixels, but it does not yet offer a fluid width: 100% option.

Add it to a regular website or WordPress

Meteoprog Weather Widget is not limited to WordPress.

Any website
Generated HTML embed
Use the widget on HTML sites, custom applications, and server-side frameworks.
WordPress
Official integration plugin
Place existing widgets with Gutenberg, Elementor, shortcodes, placeholders, or the legacy widget.

Add the Widget to a Regular Website

After creating a widget, you receive a ready-made HTML fragment with the container, informer ID, configuration, and asynchronous CDN loader.

It can be added to a standard HTML page or integrated into a custom project built with Laravel, Symfony, another server-side framework, or a frontend application.

Embed the Generated HTML Code

For example, the generated code for a widget configured with the Maximum template looks like this:

Live Maximum widget
This is a live public preview from the widget builder. It uses the visitor’s IP address to choose an approximate location and automatically selects the informer language based on the visitor’s language.
Generated HTML
<!-- meteoprog.com weather informer -->
<script>
  window.meteoprogDataLayer = window.meteoprogDataLayer || [];
  window.meteoprogDataLayer.push({ id: "YOUR_INFORMER_ID" });
</script>
<div id="meteoprogData_YOUR_INFORMER_ID"></div>
<script async src="https://cdn.meteoprog.net/informerv4/1/loader.js"></script>
Replace YOUR_INFORMER_ID with the ID generated in the builder. The selected template, location, colors, and weather sections are stored in the informer configuration, so the same loader can render a Simple, Standard, or Maximum widget.

A widget is associated with the domain entered during setup. Another domain may require a separate or appropriately configured widget.

WordPress Weather Widget Integration

Meteoprog Weather Widget WordPress plugin and widget builder
The builder and WordPress plugin work together: configure once, then place the widget on your site.

The free official WordPress plugin connects your site to widgets already created in the Meteoprog dashboard.

The plugin is open source under GPLv2 or later, with its code available on GitHub. Its implementation follows WordPress Coding Standards and best practices, using native integration points such as Gutenberg, Elementor, shortcodes, WP-CLI, and protected REST access.

The repository includes PHPUnit tests and a Docker-based test matrix covering PHP 5.6–8.4 and WordPress 4.9–7.0. GitHub Actions runs the compatibility matrix for pushes and pull requests, with nightly and latest builds checked daily. Quality checks also include PHPCS with WordPress Coding Standards, PHPCompatibility, and the official WordPress Plugin Check tool.

The visual builder remains in the Meteoprog dashboard. You still configure the location, layout, colors, and weather sections in your Meteoprog account. The plugin retrieves the available widgets through a free Informer API key and gives you several ways to place them:

  • Gutenberg block;
  • native Elementor widget;
  • Shortcodes Ultimate integration;
  • standard shortcode;
  • placeholders;
  • legacy widget support;
  • a default widget setting.

For developers and administrators, the plugin also includes WP-CLI commands for managing the key, refreshing the widget list, selecting the default widget, and clearing the cache.

A protected REST endpoint lets authorized WordPress editor integrations retrieve the list of available widgets. It is not a public Weather API.

Not sure how to install it?

We also built a Website Compatibility Checker.

Widget support is free. In the Informers section, you can send a request to the support team, and we will help you install the informer on your website and configure it correctly.

Enter a website URL, and the checker analyzes the platform, looks for an existing Meteoprog integration, and recommends an installation method.

Depending on the site, it may suggest:

  • the official WordPress plugin;
  • direct HTML installation;
  • continuing to use an existing WordPress integration.

The checker does not modify the website; it only recommends the most suitable setup.

Compatibility Checker
Find the best installation method for your website
Enter a URL to detect the platform, review the current integration, and receive an installation recommendation.
Check website compatibility

A note on performance and privacy

The widget is delivered through the Meteoprog CDN with an asynchronous loader. The WordPress plugin first loads a small local fallback script and then connects the main loader.

This approach is designed to avoid blocking the initial HTML render, but real performance always depends on the website itself: its theme, hosting, caching configuration, optimization plugins, and other third-party scripts.

The widget is backed by the reliable Meteoprog API, which is regularly monitored for availability and service health. You can check the current platform state on the Meteoprog API Status page.

Website owners should test the finished page rather than assume that any external widget has no impact on Core Web Vitals.

The WordPress plugin does not independently store personal data. However, when a visitor opens a page containing the widget, the browser connects to Meteoprog services. Standard HTTP information may be transmitted, including:

  • IP address;
  • User-Agent;
  • Referrer.

Technical cookies may also be used for content delivery or security. Website owners should account for this in their privacy policy and consent setup where required.

Is This Weather Widget Still Relevant in 2026?

Yes. In 2026, Meteoprog Weather Widget remains an actively maintained product rather than a legacy embed. The open-source plugin is updated and tested through GitHub Actions, with automated checks across supported WordPress and PHP environments. The underlying Meteoprog API is also monitored, and its current service state is available through the public Meteoprog API Status endpoint.

What the widget does not try to be

Meteoprog Weather Widget is designed as a practical weather block for a website, not a complete meteorological dashboard.

The current version does not include:

  • weather maps, precipitation radar, or severe-weather alerts;
  • air-quality, pollen, Moon-phase, or tide data;
  • a forecast covering 7, 10, or 14 days inside the widget;
  • white-label mode, custom branding, or built-in analytics;
  • fluid percentage-based width or iframe installation.
What it is
A practical, configurable weather widget for websites
It focuses on current conditions, hourly weather, short daily forecasts, localization, and straightforward installation.
What it is not
A full meteorological dashboard, radar product, white-label platform, or replacement for the commercial Meteoprog Weather API.

The widget currently includes Meteoprog links and branding. It offers three main layouts, and the daily forecast area shows up to three days.

We prefer to state those limits clearly rather than make the product sound broader than it is.

Who is it for?

The widget is useful wherever weather adds context for the visitor.

That could be:

  • a hotel showing weather for its destination;
  • a local newspaper displaying current city conditions;
  • a tourism website publishing forecasts for featured places;
  • an event page helping visitors prepare for outdoor conditions;
  • a regional portal using IP-based localization;
  • a real estate website adding local context to area pages;
  • a school, university, outdoor business, or personal blog.

The same system can serve a small local project or a multilingual website with visitors from different regions.

Try Meteoprog Weather Widget

Meteoprog Weather Widget brings weather data, the widget builder, localization, visual settings, account management, and delivery together in one product.

The main advantages are simple:

  • no separate account or API key from an external weather-data provider;
  • free widgets with no published usage cap;
  • more than 2.15 million populated locations;
  • a fixed location or optional IP-based localization;
  • 37 language variants;
  • three customizable layouts;
  • hourly forecasts and additional weather parameters;
  • HTML embed code for regular websites;
  • an official WordPress plugin;
  • the Website Compatibility Checker;
  • asynchronous delivery through the Meteoprog CDN.
Get started
Add weather to your website
Create a free widget, check your website compatibility, or install the official WordPress plugin.

We are continuing to improve the widget and would like to hear what website owners and developers need next — whether that is a longer forecast, more layouts, fluid width, additional weather data, or something we have not considered yet.

Next step

Start building with Meteoprog Weather API

Sign up for Developer Access, get your API key instantly, and test this endpoint in API Sandbox before switching to full production access.

No credit card required
API key available instantly after signup
Sandbox requests use your API key and quota