Online .htpasswd generator
This tool will generate .htpasswd file for basic authentication, used for restricting access to files and folders under Apache environment. Unlike many other online htpassword tools, our tool generates password files compatible with both Unix and Windows systems.
Enter desired username, password and password verification to use in generated file. After clicking "Generate!" save generated file to disk. Usually the name .htpasswd is used, but can be different.
If you need further instructions, read the article How to Restrict Access to a Directory Using Password Authentication.