We regularly build and open-source tools that are useful in our day-to-day work. One of these is our HTTP Status Code Checker.
With this command-line tool you can check the HTTP status codes (200, 404, etc.) based on your sitemap XML or a CSV file with URLs (which you can get from the UA Query Explorer, for example).
Especially useful before and after a migration to check whether your redirects are set up correctly!
See the tool on Github; elgentos/http-status-code-checker