Google searco console 404 url

I keep getting many 404 errors in Google Search Console, and often there are many URLs in between that are okay.

I have tried to find a prompt that can investigate 100-200 URLs at a time or more, so I don’t have to check them all to see if they work or not. This way, I can get a list of URLs that end up on a 404 page. That way, I only spend time fixing them.

I hope you understand what I’m trying to write and maybe have a link to a prompt that can handle this task."