Test Survey Tool (TST) converts structured plain text into interactive survey questionnaires. Write your survey in a simple text format with keywords like Q:, TEXT, and SHOW_IF:, and the tool renders it as a fully interactive survey with conditional logic, computed variables, and multi-page navigation.
No coding is required. The text format is designed to be readable on its own while supporting advanced features like arithmetic expressions, dynamic visibility, and complex question types.
The syntax is designed so that most features are opt-in. A basic survey only needs page markers (#), questions (Q:), and options (-). Advanced features like conditional logic, computed variables, and custom formatting can be added incrementally as needed.
Text content supports Markdown formatting throughout — use **bold** for emphasis, *italic* for subtle emphasis, and other standard Markdown syntax in page titles, section headings, questions, hints, and tooltips.
Everything runs entirely in your browser — no data is sent to a server or saved anywhere.
Here is a simple survey to get you started.
# **Welcome** Q: What is your name? TEXT Q: What is your email? TEXT # **Feedback** Q: How would you rate your experience? - Excellent - Good - Fair - Poor Q: Would you recommend us to others? - Yes - No Q: Any additional comments? ESSAY
Welcome
What is your name?
What is your email?
Surveys follow a four-level hierarchy. Each level is defined by a keyword prefix:
BLOCK: Block Name ← Groups pages (optional)
SHOW_IF: condition ← Conditional block visibility
COMPUTE: var = expression ← Block-level computed variable
# Page Title ← Starts a new page
NAVIGATION: 1 ← Adds to sidebar navigation
SHOW_IF: condition ← Conditional page visibility
COMPUTE: var = expression ← Page-level computed variable
Text can go here.
## Section Title ← Groups questions within a page (optional)
Text can go here, too.
Q: Question text ← Defines a question
HINT: Subtext ← Muted helper text
TOOLTIP: More info ← Collapsible info icon
VARIABLE: name ← Stores the response
SHOW_IF: condition ← Conditional visibility
- Option 1 ← Answer option
- Option 2
TEXT / NUMBER / etc. ← Question type
PREFIX: Text / etc. ← Question modifierThe hierarchy is BLOCK > # Page > ## Section > Q: Question or text. Keywords like VARIABLE:, SHOW_IF:, HINT:, and TOOLTIP: attach to the element above them. Options (- text) belong to the preceding question. All levels (blocks, pages, sections) support SHOW_IF: for conditional visibility.
Explore the sidebar topics to learn about each feature in detail, from basic question types to advanced conditional logic and computed variables.