Home

Security Toolkit

BasicAuth / .htaccess Generator

Generate Apache .htpasswd entries and matching .htaccess snippets quickly.

Input

Authorization header

.htaccess snippet

.htpasswd line

The generated .htpasswd below uses Apache {SHA} format for browser-only compatibility. For production, prefer bcrypt generated by htpasswd -B.

Quick test command