Search the knowledge base, browse our resources, and visit our forum for more detailed information
Last updated: 20 Mar 2026
The Text question type in KoboToolbox allows respondents to enter open-ended responses in their own words. It is best used when the range of possible answers is not predefined, such as when collecting names, descriptions, explanations, or general feedback.
This article explains how to add a text question in the Formbuilder, describes the available appearance options, and outlines key considerations to keep in mind when using this question type.
Note: Text questions can accept up to 1 MB of text. This is equivalent to approximately 300 pages.
To add a text question to your form:
Click the button.
Enter your question label.
Click + ADD QUESTION.
Choose the Text question type.

By default, text questions appear as a single-line text box.
In Enketo web forms, the text box remains the same size regardless of how much text is entered. It does not support line breaks.
In KoboCollect, the text box expands as you type and supports line breaks, allowing respondents to enter paragraphs.

You can apply advanced appearances to text questions to modify how they display and behave in your form.
To add an advanced appearance:
Open the question settings by clicking Settings to the right of the question. This will take you to the Question Options tab.
In Appearance (Advanced), choose the desired appearance.
If the appearance is not listed, select other and type the name of the appearance in the text box, exactly as written below.

The following appearances are available for text questions:
Appearance |
Description |
Compatibility |
|---|---|---|
|
Displays a larger text box for longer text responses. |
Enketo and KoboCollect |
|
Displays a numeric keyboard instead of a text keyboard (e.g., to collect phone numbers). |
KoboCollect only |
|
Displays a clickable URL (Enketo) or Open URL button (KoboCollect) under the question text and makes the question read-only. Enter the URL in the question’s Default Response setting. |
Enketo and KoboCollect |
|
Masks text entered by the respondent (e.g., a password or confidential information). |
KoboCollect only |
Note: Use the numbers appearance when entering numeric values that should be stored as text. This is especially important for values that begin with a zero, such as phone numbers or bank account numbers, to ensure the leading zero is preserved.
Text questions should be used for open-ended responses, when you cannot provide a predefined list of answer options. If you are able to define a fixed set of responses, consider using Select One or Select Many question types instead. Limiting responses can improve data quality and make cleaning, processing, and analysis easier.
For more information, see Select questions in KoboToolbox.
Because text responses are open-ended, applying skip logic or validation criteria can be more complex.
You can use regular expressions to validate and control text input. For example, you can:
Limit the number of characters in a response
Restrict characters to numbers or capital letters
Enforce a specific format, such as a unique ID
For more information, see Using regular expressions in XLSForm.
You can also use string functions in calculations to manipulate text values, including to:
Combine multiple strings of text together
Convert lowercase characters to uppercase
Extract a specific part of a string
Return the character length of a string
For more information, see Functions to manipulate strings.
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.