Very fast way to create opening hours for OSM with LLM's
Posted by rene78 on 5 March 2026 in English.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
![]()
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.

.png)

