Free · runs in your browser

Joomla Password Hash Generator

Joomla Password Hash Generator. Enter a password and click Generate Hash to produce a legacy Joomla password hash. For old integrations that still expect a 160-bit message digest, the sha1 hash generator gives you the value in hex or base64.

Your values

The random option builds a 16-character password in your browser and shows it with the result, so you can save it.

Every supported Joomla release (3.2 and later) uses bcrypt. Pick md5:salt only for a site still on Joomla 1.5, 2.5 or 3.0 - 3.1.

Hashed in your browser only; nothing is sent to a server. Use a temporary password and change it after you log in.

Used only to write the SQL statement. Replace #__ with your table prefix from configuration.php ($dbprefix) before you run it.

Result

Joomla hashed password
—
SQL UPDATE statement
—
Hash format
—
Password used
—
  • No account, no logging
  • Open formulas explained below
  • Works offline once loaded

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.

Timeline of Joomla releases showing the legacy md5:salt storage before 3.2 and bcrypt from Joomla 3.2 onward
Which stored format each release expects.

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.

Bar split into scheme, cost, random part and digest showing how a 60-character Joomla bcrypt hash is built from the example password Maple-Ferry-2047
Where each part of the 60-character example string sits.
bcrypt, MD5 and Salt in a Joomla Hashed Password
Joomla releaseStored formatAlgorithm
Joomla 3.2 and later60-character string with a fixed prefixbcrypt, cost 10
Joomla 1.5 to 3.132 hex digits, a colon, then a 32-character saltmd5(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:

  1. Open your hosting control panel, usually cPanel or Plesk, from the account your web host gave you.
  2. Launch phpMyAdmin and choose the Joomla database.
  3. Find the table ending in _users. Its table prefix is unique to your install and appears in configuration.php as $dbprefix, so the real name might be xk8s2_users instead of the #__users placeholder.
  4. Browse the rows, find your super user, and double click the password field.
  5. Delete the old value, paste the new one, and click outside the box before saving, because pressing Enter can add a stray character.
  6. Go to /administrator and 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.

Locked Out of a Staging Site: A Joomla Hashed Password Walkthrough
bcrypt costHash time on my laptopPrefix
10 (Joomla default)about 52 ms$2y$10$
12about 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.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the password generators, strength checkers, hash tools and security calculators on PasswordHive.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each tool's output is checked against official test vectors or a reference implementation, and every strength and crack-time figure against the formula it uses, before it goes live.
  • Published Updated