Export field names of a note type

I’m wondering if there’s any way to export field names of a specific note type to a text file. It’s especially helpful when preparing text file for importing with a lot of fields.

Thanks.

1 Like

With a card selected in the browser, the following in the debug console:

pp([f["name"] for f in bcard().note().note_type()["flds"]])

https://docs.ankiweb.net/misc.html#debug-console

2 Likes