Search the knowledge base, browse our resources, and visit our forum for more detailed information
Last updated: 21 Mar 2026
Select from file questions allow you to use a list of choice options stored in an external file instead of defining them directly in your form. There are two types:
Select One from File for selecting a single choice
Select Many from File for selecting multiple choices
Using a separate file for your choice list makes it easier to use and manage long lists in the Formbuilder. Supported file formats include CSV, XML, and GeoJSON.
This article explains how to format your external file, upload it to KoboToolbox, and set up select from file questions in the Formbuilder.
To get started, create your list of choices in a separate external file. The required structure of this file depends on the format you choose (CSV, XML, or GeoJSON). Use a separate file for each choice list.
To learn more about formatting XML or GeoJSON files, see XLSForm and ODK documentation. GeoJSON files are primarily used for selecting options from a map.
If you are using a CSV file for your option choices, it should contain at least two columns: name and label.
The name column represents the XML value for your option choice.
The label column represents the choice label as it is displayed in your form.
External CSV file
name |
label |
|---|---|
option1 |
Option 1 |
option2 |
Option 2 |
option3 |
Option 3 |
If your file uses different names for the choice name and label, you can specify this by downloading your file as an XLSForm and adding a parameters column.
Note: Use short, simple file names for your external files, avoiding spaces or special characters. The file name will be used to link questions to their choice lists. If you use multiple external files, make sure each one has a unique name, even if they use different file types.
Before creating a select from file question in the Formbuilder, you must upload the external file that contains your list of choices:
In KoboToolbox, navigate to the project SETTINGS page.
In the Media tab, upload the external file. Ensure the file name matches exactly the file name specified in the XLSForm.
To update your list of choices, edit the external file as needed, re-upload it to KoboToolbox, and redeploy your form.

To learn more about uploading media files, see Uploading media files to a project.
After uploading your external CSV file to KoboToolbox, you can add a Select One from File or Select Many from File question in the Formbuilder.
To add a select from file question:
Click the button.
Enter your question label.
Click + ADD QUESTION.
Choose Select One from File or Select Many from File as the question type.

Note: The Select One from File and Select Many from File question types only appear as options in the Formbuilder if an external choice file has been uploaded to KoboToolbox.
If only one external file has been uploaded to your project, it will be automatically linked to the question. If multiple files have been uploaded, open the question Settings and select the appropriate file from the Choices File dropdown menu.

To learn how to set up select from file questions in XLSForm and for additional troubleshooting support, see Selecting options from an external file in XLSForm.
Did you find what you were looking for? Was the information clear? Was anything missing?
Share your feedback to help us improve this article!
KoboToolbox is maintained by Kobo Inc.