The Firefox Lockwise Password Manager allows you to import login data from a file, starting in version 80. Learn more.
How to add logins to Firefox Lockwise on desktop
How to enable sync on Firefox for Android to sync your bookmarks, history, logins and open tabs across devices.
Firefox Lockwise stores your passwords with strong encryption and syncs them between devices.