Here is a free broken link checker that I have used for many years:

Broken website links can affect your SEO rankings.

What is more, visitors will wonder why they do not work.

As your website grows, it’s likely that some of the links will stop working, as websites and pages come an go).

On this basis it is a good idea to check your links from time to time.