This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is it possible to rearrage saved passwords in alphabetical order?

more options

I have a large number of saved passwords that i would like to sort into alphabetical order. At the moment, for example, at the top of the list are yourhealthportal.com.au b2c.csair.com and singpet.com. n the Bookmarks menu it is possible to drag and drop items to a different position in the list. Can something like this be done with passwords?

I have a large number of saved passwords that i would like to sort into alphabetical order. At the moment, for example, at the top of the list are yourhealthportal.com.au b2c.csair.com and singpet.com. n the Bookmarks menu it is possible to drag and drop items to a different position in the list. Can something like this be done with passwords?

Chosen solution

Auto-Sort Bookmarks

1. Export passwords/IDs. Make two copies. (one for backup)

2. Delete all passwords.

3. Open one of the copies in a TEXT EDITOR that allows you to sort.

4. Highlight all lines that start with "entry host"

5. Sort the lines.

6. Import back in

This will be a temporary fix of sorts as firefox sorts passwords based on usage frequency. Alternatively you might consider Keepass + Passifox

Read this answer in context 👍 2

All Replies (4)

more options

Chosen Solution

Auto-Sort Bookmarks

1. Export passwords/IDs. Make two copies. (one for backup)

2. Delete all passwords.

3. Open one of the copies in a TEXT EDITOR that allows you to sort.

4. Highlight all lines that start with "entry host"

5. Sort the lines.

6. Import back in

This will be a temporary fix of sorts as firefox sorts passwords based on usage frequency. Alternatively you might consider Keepass + Passifox

Modified by Mrsonord

more options
more options

The Saved Passwords window dialog in Options is sorted alphabetically by the Site, and can be displayed in ascending order (the default) or descending order via the toggle caret in the "Site" header.

There are three basic "sort" groupings.

First is the protocol ordering:
chrome:// - for username / password for "services" inside Firefox
ftp://
http://
https://

Then the sub-domain:
quality. mozilla. org
support-stage-new.mozilla. org
support-stage.mozilla. org
support.mozilla. org

Followed by the TLD (top level domain):
.com
.net
.org

more options

Thank you MRSONORD. This solution suits my needs even if it is temporary and after adding new passwords the list has to be resorted.