Pulls every question out of Firestore and writes it to a spreadsheet in the
Master / Sub Master / Category / Sub Category / Question / Correct / Wrong 1–3 layout.
Every other stored field is kept in extra columns to the right, so nothing is lost on the round trip.
Files are UTF-8 with a BOM, so Hebrew opens correctly in Excel.
Checking access…
1. Questions — full export
One row per question, across every category. Columns A–I match your import sheet exactly.
Columns J onward hold the extra wrong answers, hint, explanation, topic, tags, source, media URLs
and the Firestore IDs — keep them so an edited sheet can be re-imported without dropping anything.
2. Category structure
One row per category / sub-category pair, with the question count for each. This is the
shape of the current hierarchy on its own, without the questions.