When you are locked out of your site and need to reset your Joomla password without the email link, a Joomla password hash generator gives you the exact string the database expects. Think of this Joomla password generator as a shortcut: type a new password, copy the hashed password it returns, and drop it in where the old one sits.
How a Joomla Password Hash Generator Works
Joomla never saves your password as plain text. It stores a one-way hash, a fixed-length string that cannot be reversed, so reading the table reveals nothing useful. That is also why a forgot password situation cannot be solved by decrypting the old value. Instead, you hash password text of your own choosing and write the result over the old entry. Before changing PASSWORD_HASHERS, the django password hash generator lets you compare Argon2id, bcrypt and PBKDF2 against what the framework uses.
This password tool does the work client-side. The page runs in your browser, so nothing is uploaded to a server, and you only need to generate the value once. Any other browser-based tool should make the same promise before you trust it with real credentials. Strictly speaking, a hash is not encrypted text, because encryption can be undone with a key and a hash cannot.
bcrypt, MD5 and Salt in a Joomla Hashed Password
The format depends on your version. Every release from Joomla 3.2 onward, including Joomla 4 and Joomla 5, relies on PHP's password_hash with bcrypt. An older site, such as one running Joomla 1.5 through the early 3.x builds, keeps a legacy value built from MD5 plus a salt. Pick the wrong one and the hash is not compatible with your install, so the login still fails. Cryptography students use the sha512 hash generator to see why collisions are unlikely and why salted hashing and a work factor matter.
| Joomla release | Stored format | Algorithm |
|---|---|---|
| Joomla 3.2 and later | 60-character string with a fixed prefix | bcrypt, cost 10 |
| Joomla 1.5 to 3.1 | 32 hex digits, a colon, then a 32-character salt | md5(password + salt) |
A modern value always starts with $2y$10$ and is 60 characters long. For example, the password Granite-Kettle-4471 produced $2y$10$V1EzHX39kjNbG0YqtZBPmet8vJyFWYp.X2Fxp1Kx9J57ZKIe6KsGi on my test run. Run it again and you get a different string, because every salt differs, yet each one still verifies against the same password. Joomla's own password_verify check is what makes that work. The older MD5 scheme is quick to compute, which is exactly why bcrypt replaced it as the algorithm Joomla trusts.
Joomla Admin Password Recovery in phpMyAdmin
Use this method when you can still reach the database but not the backend. Here is the full Joomla admin password recovery sequence:
- Open your hosting control panel, usually cPanel or Plesk, from the account your web host gave you.
- Launch phpMyAdmin and choose the Joomla database.
- Find the table ending in _users. Its table prefix is unique to your install and appears in
configuration.phpas$dbprefix, so the real name might bexk8s2_usersinstead of the#__usersplaceholder. - Browse the rows, find your super user, and double click the password field.
- Delete the old value, paste the new one, and click outside the box before saving, because pressing Enter can add a stray character.
- Go to
/administratorand log in with the plain-text password you typed into the generator.
Reset Your Joomla Password in the _users Table
If you prefer a statement over clicking, the update statement below does the same job in the SQL tab of phpMyAdmin or any MySQL client. Replace the prefix and copy the hash exactly, with no spaces. Running this SQL also works from the command line, which helps when the web panel is down:
UPDATE xk8s2_users SET password = '$2y$10$...' WHERE username = 'admin';Check that the row belongs to your own super user before you save. Joomla will not warn you about a wrong row, so a typo in the username only changes the wrong user, which you can undo by re-running the statement with the right name.
Locked Out of a Staging Site: A Joomla Hashed Password Walkthrough
Dana, a freelancer, inherits a Joomla 4 staging copy whose only super user email bounces. The decision: hash a new password or add a second super user. She types Harbor-Lantern-8302, 19 characters and well above Joomla's default minimum of 12, then copies the 60-character result, $2y$10$tX/sBDgoo3EV5prM84/QQeGAKeG34SVl.FiVxKMrROrYSrHNV/dGe.
In phpMyAdmin she opens stg7_users, edits the password cell of the one super user row, pastes the hash, and clicks outside the field. The login works on the first try. As a cross-check, she verifies in PHP that password_verify returns true for that pair, which confirms the value was copied whole, not just that the page accepted it.
| bcrypt cost | Hash time on my laptop | Prefix |
|---|---|---|
| 10 (Joomla default) | about 52 ms | $2y$10$ |
| 12 | about 159 ms | $2y$12$ |
The sensitivity rerun matters: raising the cost by 2 makes each check roughly three times slower, and a hash with a different prefix still verifies, so cost 12 is safe to paste. I would keep the default, though. What stands out is that an attacker's cost grows with it, while Joomla's own login check pays that price on every attempt.
The edge case is the shell. If Dana had written the hash into an SQL statement inside double quotes in a terminal, the $2y$10$ segments would be treated as variables and silently stripped, leaving a value that looks right but never matches. Single quotes, or the phpMyAdmin cell, avoid that. Her next action: log in, then set a permanent password from the user manager.
Strong Random Password Habits Before You Hash Password Values
A reset is a good moment to fix weak habits. Choose a strong password of at least 16 characters, and let a password manager create a random password for you so nobody has to remember it. Add two-factor authentication afterwards, because it blocks brute-force bots that hammer /administrator around the clock.
Treat what you entered as a temporary password. Once you are back in, change your password from the user profile so only you know it, since whoever set the value could also read it. A successful login proves the hash was written correctly, and a second login from a private window proves the new password sticks. Good security also means checking for a hacked account: look for super users you do not recognise, and confirm your email address is still yours.
A Joomla Password Generator Alternative: configuration.php
If you can reach the files but not the database, skip hashing entirely. Connect by FTP, check the permissions on configuration.php (change 444 to 644 for the edit), and add public $root_user='yourname'; so a user you can log into becomes a temporary super user. Remove the line afterwards and restore 444. Joomla shows an alert with a link that removes it automatically, which is the safest route, and you then set a permanent password from the user manager.
Password Tool Options for WordPress and Other CMS Sites
Other systems use other formats, so a Joomla hash will not work elsewhere. WordPress stores a phpass value with a $P$ prefix in the user_pass column of its users table, and a WordPress reset follows the same steps: open the database, edit the row, save, and try the login page. Every CMS checks its own test vectors, so a generator built for WordPress cannot produce a valid Joomla value, and the reverse is also true.
Knowing the format also helps when migrating users between platforms or seeding a staging copy of your website on a different server. If the target expects the same format, you can often carry the existing hash across, but a WordPress site moving to Joomla needs each person to choose a fresh password, because a phpass value does not convert. Keep a copy of the old database until everyone has signed in once.
When you finish, remove any scratch copies of the password and the hash from your clipboard history, notes and shell history. Treat your own notes with the same care as the live site.
Frequently Asked Questions
- Does this match current Joomla versions?
- No -- Joomla 3.2 and later switched to PHP's bcrypt-based password_hash() by default, which is exactly what this site's Bcrypt Generator produces. This tool specifically replicates the legacy md5-hex scheme used by Joomla 1.5 through 2.5, which stored passwords as md5(password + salt), followed by a colon and the salt itself.
- Why store the salt appended after a colon?
- That's simply Joomla's own storage convention for this scheme -- keeping the salt alongside the hash (rather than in a separate database column) so the verification code has everything it needs from the single stored string, the same general idea behind Postgres's "md5" prefix format or Apache's $apr1$ salted format, just with Joomla's own colon-separated layout.
- How was this verified?
- By fetching Joomla core's actual JUserHelper::getCryptedPassword() source directly from Joomla's own GitHub repository (the 2.5.28 release tag) and implementing the documented default md5-hex case exactly as specified: md5($password . $salt), stored as "$hash:$salt".
- Is MD5 with a salt secure enough for password storage?
- Not by modern standards -- MD5 is a fast hash, so even salted, it's far more brute-forceable than bcrypt or Argon2 with modern GPU hardware. This tool exists for working with legacy Joomla 1.5-2.5 installations and migrations, not as a security recommendation -- upgrade to a current Joomla version (which uses bcrypt) where possible.
- Is my password sent anywhere?
- No. The hash is computed entirely in your browser -- nothing is transmitted to a server or stored.