Make the 6-digit two-factor codes from a secret key or an otpauth link, and keep them in a saved list. (Hashing & security)
These tools need JavaScript. They run entirely in your browser and upload nothing.