OpenStreetMap logo OpenStreetMap

Until recently, I mainly used the opening_hours evaluation tool to quickly generate valid OSM opening hours. However, it often requires some manual work to simplify the syntax afterwards.

That’s why I tried using ChatGPT instead - and it works surprisingly well. You can simply copy and paste opening hours from websites, or even upload an image, and ask it to format them for the opening_hours tag.

Example

Scapino opening hours, Winschoten

LLM query

please format the opening hours in the attached image for the OSM 'opening_hours' tag.

Output

Mo 13:00-18:00; Tu-Th 09:30-18:00; Fr 09:30-21:00; Sa 09:00-17:00; Su off

This is a rather simple example, but it also works well with more complex opening hours.

Discussion

Comment from Umut-K on 6 March 2026 at 03:38

I have also tried it but definitely do check the output. If the inputted dates/times aren’t in order or in a different language it sometimes makes mistakes as well

Comment from rene78 on 6 March 2026 at 06:41

Good point! Realized that, too.

After playing around with it some more, Google’s Gemini seems more reliable at generating accurate opening hours for OSM.

Comment from Aeiouai on 6 March 2026 at 08:38

This online-tool converts non-conforming opening hours to the OSM standard, i used this to add opening hours from websites to OSM!

https://www.webmapping.cyou/WebToOSMOH/

Comment from bugeyed on 8 March 2026 at 21:30

wow i need to start doing this!

Log in to leave a comment