Firefox Logo on Purple Background

If you need your credit card number but don’t have your card nearby, it’s possible to retrieve it from Mozilla Firefox if the browser has stored it for you with Autofill in the past. Here’s how.

First, open Firefox on Mac, Linux, or Windows. In any window, click the menu button (three lines) in the upper-right corner, then select “Preferences” (on Mac) or “Options” (on Windows and Linux).

Click Options in Firefox

When the “Preferences” or “Options” tab appears, click “Privacy & Security” in the sidebar menu.

In Firefox Options, click "Privacy & Security" in the sidebar menu.

Next, scroll down to the “Forms and Autofill” section and click the “Saved Credit Cards” button.

In Privacy & Security settings in Firefox, click "Saved Credit Cards."

In the window that pops up, Firefox will show a list of all credit cards it has saved. Select the card you’d like to see the number for and click “Edit.”

Tip: If the “Saved Credit Cards” list is empty, then Firefox has not saved any credit card numbers in the past.

Select a credit card in the list and click "Edit."


In the “Edit Credit Card” window, you’ll see the full credit card number in the “Card Number” box. If the expiration date and the name on the card have been saved, those will be listed, too.

In the "Edit Credit Card" window, you'll see the full credit card number.

Note that Firefox will never save the three- or four-digit card security code (often called a “CVV number” or “CSV number”) found on the front or back of your credit card. To get that, you’ll need the actual card itself.

If you’d like to remove a credit card from Firefox, hit “Cancel” to go back to the main card list, then select a card and click “Delete.” Firefox will instantly forget the saved card information. Good luck!

RELATED: How to Use and Edit Autofill for Forms in Firefox

Benj Edwards Benj Edwards
Benj Edwards is an Associate Editor for How-To Geek. For over 15 years, he has written about technology and tech history for sites such as The Atlantic, Fast Company, PCMag, PCWorld, Macworld, Ars Technica, and Wired. In 2005, he created Vintage Computing and Gaming, a blog devoted to tech history. He also created The Culture of Tech podcast and regularly contributes to the Retronauts retrogaming podcast.
Read Full Bio »

The above article may contain affiliate links, which help support How-To Geek.