I have published a project called migrate-wallet.
I did this years ago when I wanted to migrate my wallets, but never published it. Now asked GLM to fixed a few things and finish it, so here it is.
You can run it offline and it generates 1 transaction per UTXO. if you want to try it. It requires:
- UTXO list from Sparrow;
- Seed words + optional passphrase;
- XPUB of new wallet;
Check the readme for instructions and more settings.


Link:
https://github.com/ottosch/migrate-wallet