MySQL Password Hash
Generate the mysql_native_password hash MySQL and MariaDB store, in your browser.
What this mysql password hash does
MySQL stores mysql_native_password as an asterisk followed by the upper-case SHA-1 of the SHA-1 of the password. MariaDB uses exactly the same format, so this page covers both.
How to use it
MySQL Password Hash: paste the password into the box above, and press Run to get the hash below.
Worked example
Input:
correct horse battery staple
Output:
*F4AF2E5D85456A908E0F552F0366375B06267295
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns hash; reloading the page discards both.
MySQL stores mysql_native_password as an asterisk followed by the upper-case SHA-1 of the SHA-1 of the password. MariaDB uses exactly the same format, so this page covers both.
Generate the mysql_native_password hash MySQL and MariaDB store, in your browser.
How to use it
MySQL Password Hash: paste the password into the box above, and press Run to get the hash below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns hash; reloading the page discards both.
What to Expect
Best for
- Converting password to hash when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
correct horse battery staple
Sample output
*F4AF2E5D85456A908E0F552F0366375B06267295
Frequently asked questions
How do I use the mysql password hash?
MySQL Password Hash: paste the password into the box above, and press Run to get the hash below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.