This site uses cookies for analytics. By continuing to browse this site, you agree to this use.

Use webhint to improve your website

webhint is a linting tool that will help you with your site's accessibility, speed, security and more, by checking your code for best practices and common errors. Use the online scanner or the CLI to start checking your site for errors.

Why use webhint?

Fully customizable

Every site is different. webhint adapts its feedback when you give it more information: ignore 3rd-party code, prioritize your users' browsers, and control the results with minimal setup.

User guide

Create your own hints

With the help of our contributor guide, you can create new hints to suit your needs. You can help webhint help even more people like you by contributing your hints back!

Hint documentation

Community driven

webhint welcomes anyone who wants to make the web a better place. Testing, filing issues and feature requests, contributing code, and improving the documentation are just the start!

webhint GitHub

Use the online scanner

Not sure what you want to configure the CLI to check? Use the online scanner for a pre-configured set of rule checks to cover the basics.

Run webhint from your CLI

webhint cli

If you want to disable specific hints, further configure others, ignore domains, or more, run webhint from your CLI.

To do a quick scan just run:

>npx hint

Get Started

The hint package has been donated by Nicolás Bevacqua. While you are reading this, make sure to visit his site!