Well, I know a way using jQuery.

  <div id="icon"><img id="wicon" src="" alt="Weather icon"></div>

At the HTML above you see the unique thing missing is the src attribute, so let's fill it with some jQuery and JavaScript. You may create a variable to hold the icon code provided by the API like:

        var iconcode = a.weather[0].icon;

After it you should concatenate this var iconcode with the url that contains the icons, like:

        var iconurl = "http://openweathermap.org/img/w/" + iconcode + ".png";

Finally just change src attribute in the DOM by doing this:

        $('#wicon').attr('src', iconurl);
Answer from samu101108 on Stack Overflow
🌐
OpenWeatherMap
openweathermap.org β€Ί weather-conditions
Weather Conditions
Access OpenWeather's comprehensive weather icon list for various weather conditions, including thunderstorm, drizzle, rain, snow, atmosphere, clear skies, and clouds. Get precise visual representation for weather forecasting and analysis through easy-to-use API calls.
🌐
GitHub
github.com β€Ί rodrigokamada β€Ί openweathermap
GitHub - rodrigokamada/openweathermap: List of weather condition icons from OpenWeatherMap. Β· GitHub
List of weather condition icons from OpenWeatherMap. - rodrigokamada/openweathermap
Starred by 28 users
Forked by 7 users
Discussions

html - How to display openweathermap weather icon - Stack Overflow
I am using openweathermap to display weather reports. Everything is working fine but there is a problem with the icon. The JSON response code is: Array ( [city] => Array ( ... More on stackoverflow.com
🌐 stackoverflow.com
Weather icons for OpenWeathermap in a Dashboard 2 template
A much larger set of icons - 120 of them - is available at https://github.com/rickellis/SVG-Weather-Icons/Masters-Tempestacons. These have descriptive rather than numeric filenames so I'd have to build a cross reference between OWM's codes and these filenames. More on discourse.nodered.org
🌐 discourse.nodered.org
0
November 21, 2025
OpenWeatherMap Icons
Hello. I’m running Grafana v9.0.3 via docker compose (grafana:grafana/latest docker tag) with data coming from InfluxDB v2. I’m creating a weather based dashboard, and I’m trying to find a way to get the icons from OpenWeatherMap into a Grafana Panel. I am receiving an icon code from ... More on community.grafana.com
🌐 community.grafana.com
0
July 18, 2022
Looking for the Openweather map weather icons
as in the title I am looking to use the same icons in another system. I like the icons since they are polished. Can someone tell me how I can get a copy of them?? Thanks More on community.hubitat.com
🌐 community.hubitat.com
0
August 19, 2024
🌐
OpenWeatherMap
openweathermap.org β€Ί api
Weather API
Up to 8 days forecast with sunrise/sunset, min/max, and weather icons Β· 1-minute Forecast Β· 1-minute precision for the next hour (in select locations) Subscribe Β· Explore API Doc Β· All Β· Forecast Β· Solar Β· Historical Β· Maps Β· Environmental Β· Other Β· Forecast Β·
🌐
OpenWeatherMap
openweathermap.org β€Ί current
Current weather data
List of weather condition codes with icons (range of thunderstorm, drizzle, rain, snow, clouds, atmosphere etc.)
🌐
Websygen
websygen.github.io β€Ί owfont
owfont - symbol font for OpenWeatherMap API
owfont is designed to match to weather condition codes returned by OpenWeatherMap API. Just use the response code as class name (prefixed with owf) and your icon will appear.
Find elsewhere
🌐
Node-RED
discourse.nodered.org β€Ί share your projects
Weather icons for OpenWeathermap in a Dashboard 2 template - #2 by jbudd - Share Your Projects - Node-RED Forum
November 21, 2025 - A much larger set of icons - 120 of them - is available at https://github.com/rickellis/SVG-Weather-Icons/Masters-Tempestacons. These have descriptive rather than numeric filenames so I'd have to build a cross reference between OWM's codes and these filenames.
🌐
OpenWeather
docs.openweather.co.uk β€Ί weather-conditions
Weather Conditions - OpenWeather
Get to know OpenWeather's icon lists, such as Rain, Snow, Clouds, and understand weather conditions within each group.
🌐
OpenWeatherMap
openweathermap.org
Current weather and forecast
OpenWeather provides comprehensive weather data services, including current, forecast, and historical weather information. Explore a wide range of APIs for solar radiation, road risk assessment, solar energy prediction, and more, with global coverage and user-friendly access.
🌐
SourceForge
sourceforge.net β€Ί projects β€Ί open-weather-icons.mirror
Open Weather Icons download | SourceForge.net
May 23, 2023 - Download Open Weather Icons for free. Weather icon font and css themed icons. Weather icon font and CSS themed icons specially created for Open Weather Map API, are ready to be used in any project. Place the contents from the fonts and css folder in your project, assuming that your fonts are ...
🌐
Grafana
community.grafana.com β€Ί dashboards
OpenWeatherMap Icons - Dashboards - Grafana Labs Community Forums
July 18, 2022 - Hello. I’m running Grafana v9.0.3 via docker compose (grafana:grafana/latest docker tag) with data coming from InfluxDB v2. I’m creating a weather based dashboard, and I’m trying to find a way to get the icons from OpenWeatherMap into a Grafana Panel. I am receiving an icon code from OpenWeatherMap here: This corresponds to an API call you can make here: https://openweathermap.org/weather-conditions Is there any way to take the output from my initial query, and somehow get the symbol from...
🌐
OpenWeatherMap
home.openweathermap.org
Open Weather Map
Not registered? Create an Account Β· Enter your email address and we will send you a link to reset your password
🌐
Hubitat
community.hubitat.com β€Ί πŸ’¬ lounge
Looking for the Openweather map weather icons - πŸ’¬ Lounge - Hubitat
August 19, 2024 - as in the title I am looking to use the same icons in another system. I like the icons since they are polished. Can someone tell me how I can get a copy of them?? Thanks
🌐
Anvil
anvil.works β€Ί anvil q&a
Openweather Icon not showing up - Anvil Q&A - Anvil Community Forum
April 10, 2022 - I have set an image UI Element to show up an openweathermap icon. If I look on inspect element it shows up on there, but there is nothing showing up in the browser, can anyone tell me what am I missing?
🌐
GitHub
gist.github.com β€Ί tbranyen β€Ί 62d974681dea8ee0caa1
OpenWeatherMap / Weather Icons integration Β· GitHub
This just gave me the right direction dude! Thanks. I am working with classes so here is my snippet: paint(weather) { this.icon.setAttribute("src", http://openweathermap.org/img/w/${weather.weather[0].icon}.png); }
🌐
FACER Community
community.facer.io β€Ί support
Weather Icons and Text - OpenWeather API Data - Support - FACER Community
August 16, 2017 - I was working on another Weather App style watchface design. I began playing with the Weather text and weather Icon tags: #WCCT# and #WCCI#. When I text the different text read outs I am getting the following: 01 – Clear Sky 02 – Partly Cloudy 03 – Cloudy 04 – Partly Cloudy 09 – Rainy 10 – Rainy 11 – Stormy 13 – Snow 50 – Foggy However, when I do research on past forum topics and also the OpenWeather Site, I see the following list: 01 – Fair 02 – Few clouds 03 – Scattered clouds 04...
🌐
Node-RED
flows.nodered.org β€Ί flow β€Ί d7af9f5d6f6923324466c58ea4f0655f
OpenWeatherMap Weather Dashboard with Icons - Landscape (flow) - Node-RED
","group":"70fb931.dfc146c","order":3,"width":3,"height":1,"name":"Wind","label":"","format":"{{msg.payload.current.wind_speed}}&nbsp;&nbsp;<i class=\"wi wi-darksky-wind\"></i>&nbsp;&nbsp;{{msg.payload.current.wind_cardinal}}","layout":"col-center","x":970,"y":120,"wires":[]},{"id":"40f44662.3ecde8","type":"ui_text","z":"5f633a28.607134","group":"70fb931.dfc146c","order":4,"width":3,"height":1,"name":"SunriseTime","label":"","format":"<i class=\"wi wi-owm-01d\"></i>&nbsp;<i class=\"fa fa-arrow-up\"></i>&nbsp;&nbsp;{{msg.payload.current.sunrise}}","layout":"row-center","x":990,"y":160,"wires":[
🌐
Home Assistant
community.home-assistant.io β€Ί configuration β€Ί frontend
OpenWeatherMap icons - Frontend - Home Assistant Community
March 9, 2024 - I am trying to setup a entity card for the conditions entity. I get the text ie: cloudy or Sunny What I am trying to get is the icon for those and the other conditions. Do I need a specific card for this? It says in the docs that the icons are translated from the conditions, but I have yet ...
🌐
SVG Repo
svgrepo.com β€Ί home β€Ί vectors β€Ί openweathermap
Openweathermap SVG Vectors and Icons - SVG Repo
Free Openweathermap SVG Vectors and Icons. Openweathermap icons and vector packs for Sketch, Figma, websites or apps.