Skip to main content
CheckTown

htpasswd Generator

Generate htpasswd entries for Apache and Nginx authentication

Recommended. Strongest algorithm, supported by Apache 2.4+ and Nginx.

Enter credentials to generate

The htpasswd entry will appear here

Learn More

htpasswd Generator: Apache and Nginx Basic Authentication

Learn how to generate htpasswd entries for web server authentication.

What Is htpasswd?

An htpasswd file is a flat-file database used by Apache and Nginx web servers to store usernames and hashed passwords for HTTP Basic Authentication. Each line contains a username and a password hash separated by a colon, such as admin:$2y$10$abc... The file provides a simple way to protect web resources without requiring a full authentication backend.

5 min readRead full guide