What is the best way to generate sitemap for website?

I'm currently working on creating a sitemap for my website, which has over 10,000 pages. Can anyone recommend the best software for this task?

Screaming Frog is a popular choice for generating sitemaps, especially for large websites with over 10,000 pages. This tool offers customisation options and provides detailed reports. You should also consider if your website has any orphaned pages, which are pages that are not linked to from other pages. If you have a list of all your URLs, you can use that to create a sitemap. The choice of software may also depend on the platform your website is built on. If your website is built with server-side rendering Next.js, you may be able to use a tool specifically designed for this framework.