# I can't import my passwords from .csv file

**URL:** <https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966>\
**Category:** Firefox Development\
**Created:** [December 30, 2020, 10:28am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966 "2020-12-30T10:28:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![WEB\_TM](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@WEB\_TM](https://discourse.mozilla.org/u/WEB_TM)\
**Post date:** [December 30, 2020, 10:28am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/1 "2020-12-30T10:28:07Z")

</div>

Hello, Yesterday I had exported passwords as .csv and bookmarks.json before I Reinstalling Windows 10. Today I installed Mozilla Firefox again and now I want to import my passwords in new Firefox browser. But to my terrible surprise mozilla has not that function to “import from .csv”. and Also when I imported bookmarks.json All bookmark links where lost and only two empty folder added to mozilla bookmarks. I got too angry in real. What a hell is going on?

What can I do now?

 ![1](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/8/7/87f20c4f4f3d6ec20441e76efe57830ab3b77b98.png)  
 ![2](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/b/8/b871deb6103ac80cb501e0ea51271706e96040b5.png)

---

<div class="post-metadata">

**Author:** ![anon18296772](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@anon18296772](https://discourse.mozilla.org/u/anon18296772)\
**Post date:** [December 30, 2020, 3:29pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/2 "2020-12-30T15:29:43Z")

</div>

that is a big FAIL. 🥶

we deserve better, even in windows.

---

<div class="post-metadata">

**Author:** ![jscher2000](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/jscher2000/32/28202_2.png) [@jscher2000](https://discourse.mozilla.org/u/jscher2000)\
**Post date:** [December 30, 2020, 10:36pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/3 "2020-12-30T22:36:01Z")

</div>

> [@WEB\_TM](#):
>
> But to my terrible surprise mozilla has not that function to “import from .csv”.

Hmm, that’s puzzling because there’s a help article about it:

> **[Import login and password data from a file | Firefox Help](https://support.mozilla.org/en-US/kb/import-login-data-file)**
>
> Starting in Firefox version 116, you can import login and password information from a ''.csv'' file. Learn How.

Try this to re-enable the missing menu item:

(1) In a new tab, type or paste **about:config** in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste **import** and pause while the list is filtered

(3) Double-click the **signon.management.page.fileImport.enabled** preference to switch the value from false to true

(4) Open the Logins and Passwords page or, if it’s already open, Reload it

> [@WEB\_TM](#):
>
> Also when I imported bookmarks.json All bookmark links where lost and only two empty folder added to mozilla bookmarks.

This was a backup you made yourself from your old Firefox? Did you use the “Restore” function? That is the only one that can read JSON; the Import function only reads HTML.

> **[Restore bookmarks from backup or move them to another computer | Firefox Help](https://support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them)**
>
> Learn how to restore your bookmarks from the automatic backups that Firefox creates, save and restore your own backups, and move bookmarks to another computer.

You’ll need to use the “Choose File…” option and point Firefox to your backup file (any backup file already listed on the Restore menu is from the new installation).

Any luck?

---

<div class="post-metadata">

**Author:** ![WEB\_TM](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@WEB\_TM](https://discourse.mozilla.org/u/WEB_TM)\
**Post date:** [December 31, 2020, 12:11pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/4 "2020-12-31T12:11:16Z")

</div>

Thanks. I have imported saved passwords now but the passwords can’t be recovered because there is not any links in the .json file.  
In conclusion, on that partly terrible disappointment form me I should take it easy.  
Thanks again.

 ![non](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/f/c/fc651201ffeddd2190440398ea19887a457fe70f.png)

---

<div class="post-metadata">

**Author:** ![jscher2000](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/jscher2000/32/28202_2.png) [@jscher2000](https://discourse.mozilla.org/u/jscher2000)\
**Post date:** [December 31, 2020, 6:38pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/5 "2020-12-31T18:38:22Z")

</div>

Hmm, I’m puzzled how you got a blank backup file. Was your Firefox having problems with history and bookmarks before your reinstall?

Do you have any other kind of backups from before the system reinstall?

Did you use one of the built-in methods of refreshing Windows that preserves your data in a

C:\Windows.old

temporary folder?

---

<div class="post-metadata">

**Author:** ![WEB\_TM](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@WEB\_TM](https://discourse.mozilla.org/u/WEB_TM)\
**Post date:** [December 31, 2020, 8:42pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/6 "2020-12-31T20:42:18Z")

</div>

I hadn’t problem with bookmarking but I was awkward by smart redirects.

> “C:\Windows.old”

I just reinstalled Win10  
So I am keep calm. Happy new year, everybody 🕶

---

<div class="post-metadata">

**Author:** ![mchlmbrk](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/mchlmbrk/32/58592_2.png) [@mchlmbrk](https://discourse.mozilla.org/u/mchlmbrk)\
**Post date:** [August 10, 2022, 11:48am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/7 "2022-08-10T11:48:47Z")

</div>

It’s still a big fail in 2022 and even on MacOS. 🤦‍♂️

---

<div class="post-metadata">

**Author:** ![nicolas.mariotti](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@nicolas.mariotti](https://discourse.mozilla.org/u/nicolas.mariotti)\
**Post date:** [August 28, 2022, 1:13pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/8 "2022-08-28T13:13:26Z")

</div>

Similar problem for me. Even after activating the menu option “import from .csv” with " signon.management.page.fileImport.enabled" = true , the menu option shows up, the dialog windows opens but Firefox simply fails to load the logins.

Chrome was able to import from the same .csv file so I don’t think it’s corrupted.

---

<div class="post-metadata">

**Author:** ![CUSHLOMOCKREE](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@CUSHLOMOCKREE](https://discourse.mozilla.org/u/CUSHLOMOCKREE)\
**Post date:** [September 9, 2022, 2:48pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/9 "2022-09-09T14:48:31Z")

</div>

Same problem here.  
On export, Firefox creates passwords.csv.  
Attempting to import it to Firefox on a new Win10 system with the menu item “import from .csv” enabled does nothing.  
Importing the passwords to Chrome succeeds; then “Import from Another Browser” (Chrome, in this case) succeeds in getting the passwords into FF.  
Basically, this “workaround” requires installation of Chrome just to get your FF passwords from an old system to a new system’s FF.  
From this thread, it looks like this has not been addressed for \>2 yrs.

---

<div class="post-metadata">

**Author:** ![aevsolaev](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@aevsolaev](https://discourse.mozilla.org/u/aevsolaev)\
**Post date:** [September 16, 2022, 2:34am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/10 "2022-09-16T02:34:58Z")

</div>

Type about:config in search bar  
accept the fact you’re doing this at your own risk  
change:  
security.allow\_eval\_in\_parent\_process to TRUE;  
signon.management.page.fileImport.enabled to TRUE;  
print(Have a good day!);  
return 0;

---

<div class="post-metadata">

**Author:** ![rnd0](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/rnd0/32/59455_2.png) [@rnd0](https://discourse.mozilla.org/u/rnd0)\
**Post date:** [September 26, 2022, 7:36pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/11 "2022-09-26T19:36:55Z")

</div>

This has been an on-going problem for me.  
setting:  
security.allow\_eval\_in\_parent\_process  
to true seemed to fix it, for some reason  
signon.management.page.fileImport.enabled  
was already set to true when I checked it.

I’m not sure why -and I don’t care since I am able to import my passwords.

In summary, what fixed my situation was:  
signon.management.page.fileImport.enabled TRUE \<\<to allow importing  
security.allow\_eval\_in\_parent\_process TRUE \<\<to coax firefox into actually reading the bloody CSV file.

After doing that, signon.management.page.fileImport.enabled had been set to true, but that may be a local (to me) thing and folks ought to probably check it anyway.

Thanks, @aevsolaev!

---

<div class="post-metadata">

**Author:** ![yousif.eco](https://avatars.discourse-cdn.com/v4/letter/y/779978/32.png) [@yousif.eco](https://discourse.mozilla.org/u/yousif.eco)\
**Post date:** [September 28, 2022, 10:19am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/12 "2022-09-28T10:19:25Z")

</div>

This worked for me! Thank you!

---

<div class="post-metadata">

**Author:** ![jestreit](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/jestreit/32/59582_2.png) [@jestreit](https://discourse.mozilla.org/u/jestreit)\
**Post date:** [October 6, 2022, 6:51am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/13 "2022-10-06T06:51:24Z")

</div>

For me the import is now supported but I get an error now, saying a field was missing. From Chrome export I have the fields: name, url, username, password) Does anyone know, what the required fields for import in firefox are? How can I fix this?

Thank you so much for the help so far @rnd0

---

<div class="post-metadata">

**Author:** ![Rob\_Ohara](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Rob\_Ohara](https://discourse.mozilla.org/u/Rob_Ohara)\
**Post date:** [November 11, 2022, 4:55pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/14 "2022-11-11T16:55:25Z")

</div>

solved my problem thanks

---

<div class="post-metadata">

**Author:** ![Learnto\_Crochet](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@Learnto\_Crochet](https://discourse.mozilla.org/u/Learnto_Crochet)\
**Post date:** [December 2, 2022, 2:30am UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/15 "2022-12-02T02:30:17Z")

</div>

I was pulling my hair out trying to figure this out. This worked for me. Thank you so much for sharing.

---

<div class="post-metadata">

**Author:** ![rufuswalker2008](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@rufuswalker2008](https://discourse.mozilla.org/u/rufuswalker2008)\
**Post date:** [December 4, 2022, 1:31pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/16 "2022-12-04T13:31:16Z")

</div>

I was having the same problem, but resetting both of the settings to TRUE worked.

---

<div class="post-metadata">

**Author:** ![reitx](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@reitx](https://discourse.mozilla.org/u/reitx)\
**Post date:** [December 15, 2022, 12:16pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/17 "2022-12-15T12:16:28Z")

</div>

Thanks a lot! This did it 😀 👍

security.allow\_eval\_in\_parent\_process TRUE

Never heard about that before

---

<div class="post-metadata">

**Author:** ![evilpie](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/evilpie/32/30580_2.png) [@evilpie](https://discourse.mozilla.org/u/evilpie)\
**Post date:** [December 15, 2022, 12:19pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/18 "2022-12-15T12:19:28Z")

</div>

Update to Firefox 108 to import CSV files after setting _just_ `signon.management.page.fileImport.enabled` to `true` in about:config.

`security.allow_eval_in_parent_process` should **always** be `false`!

---

<div class="post-metadata">

**Author:** ![reitx](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@reitx](https://discourse.mozilla.org/u/reitx)\
**Post date:** [December 15, 2022, 12:21pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/19 "2022-12-15T12:21:52Z")

</div>

I´m on FF 108. Do I have to reset this value?

---

<div class="post-metadata">

**Author:** ![evilpie](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/evilpie/32/30580_2.png) [@evilpie](https://discourse.mozilla.org/u/evilpie)\
**Post date:** [December 15, 2022, 12:26pm UTC](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966/20 "2022-12-15T12:26:01Z")

</div>

If you changed `security.allow_eval_in_parent_process` you should _definitely_ change it to `false`.

Disallowing eval is an important exploit mitigation.

[Next page](https://discourse.mozilla.org/t/i-cant-import-my-passwords-from-csv-file/72966.md?page=2)
