On macOS Sequoia (alas, only, not iOS 18) the new Passwords.app can import passwords from a text file. I used it to move in decades of passwords from the venerable PasswordWallet. But it took some trial and error to make it work. In brief, you need a csv file with the appropriate headers and columns. I wrote up the details at the link below; the info should be useful no matter what password utility you’re coming from.
https://www.gordonmeyer.com/2024/09/importing-passwords-into-macos-passwordsapp.html