Survey Platform - Import/Export Surveys | Qualtrics

Import and Export Surveys

Introduction

With Qualtrics, you have the option to import and export a QSF, or “Qualtrics Survey Format” file. A QSF file can act as a backup or as a means of transferring a copy of your survey to another Qualtrics account.

The Import Survey option allows you to upload a QSF file or a previously created TXT file of a survey into Qualtrics. The TXT file option is appropriate in an automated system, where you have a back-end program that automatically generates TXT surveys for you to import.

The Export Survey option allows you to download a QSF file or a Word document of your survey onto your computer.

Qtip: The QSF file does not contain any of the survey responses. To export the survey responses, see our Export Data page.

Exporting a Survey

There are two ways to export your survey:

  • QSF File: The QSF file will contain all of your survey formatting and settings, though it will not contain any response data. This export option is primarily used to create copies of a survey for sharing to other Qualtrics accounts.
  • Word Document (DOCX): The Word document will contain all of the questions and answer choices in your survey but may not reflect all formatting customizations. This export option is primarily used as a data dictionary (since it includes all of the coded values for your answer choices) or as a basic paper version of your survey.
  • Qtip: If you want to export a PDF version of your survey see our Print Survey page.

    To export your survey as a QSF file

    1. Navigate to the Survey module and click Tools.image09
    2. Choose Export Survey.image14
    Qtip: With Internet Explorer, you might need to click on the yellow bar at the top of the page to grant permission to download the file.

    To export your survey as a Word document

    1. Navigate to the Survey module and click Tools.image09
    2. Choose Export Survey to Word.image02
    3. Choose which details to include (Questions Numbers, Logic, Coded Values, HTML Tags).image00
    4. Select which survey language to export (only translated surveys have this option).image12
    5. Click Export.image10

    Importing a Survey

    There are two ways to import your survey, as a QSF file or as a TXT file. The QSF file is found by exporting the survey as described above. The TXT file must be properly formatted as described below.

    Qtip: Importing a QSF file will always create a new survey in your account.

    To import your survey as a QSF

    1. Navigate to My Projects and click Create Project.image08
    2. Select From a File.image03
    3. Click Choose a .qsf File and browse your device for the correct QSF file.image07
    4. Type in a Survey Name and, if desired, select the survey Folder.image13
    5. Click Create Project.image04

    Alternatively, you can import your survey as a QSF through the Survey module.

    1. Navigate to the Survey module and click Tools.image09
    2. Choose Import Survey.image01
    3. Click Choose File and browse your device for the correct QSF file.image06
    4. Click Import.image05

    To import your survey as a TXT

    1. Navigate to the Survey module and click Tools.image09
    2. Choose Import Survey.image01
    3. Click Choose File and browse your device for the correct TXT file.image06
    4. Click Import.image11

    Preparing a Simple Format TXT File

    Simple TXT formatting is appropriate for simple surveys that only have Multiple Choice and Matrix questions. For more options, see Preparing an Advanced Format TXT File below.

    To format questions in Simple TXT

    1. Begin each question with a number followed by a period (“.”).
    2. Place choices below the question text with a blank line between the question and the answer choices.
    3. Make a question multiple answer by adding “[[MultipleAnswer]]” on the line just below the question text.
    4. Designate a Matrix question by separating answer choices into two or more groups, with a blank line in between.
    5. Designate a new block by adding “[[Block]]”.
    6. Insert a page break by adding “[[PageBreak]]”.

    Example of Simple TXT formatting:

    Example – Simple Text File: Example.txt

    1. This is a multiple choice question. Every question starts with a
    number followed by a period. There should be a blank line between
    the question text and the choices.
    
    a
    b
    c
    d
    
    [[Block:My Block Name]]
    2. This is a multiple choice- multiple answer question.
    [[MultipleAnswer]]
    
    a
    b
    c
    d
    
    [[PageBreak]]
    3. This is a matrix question that has longer question text.
    It is a matrix question because it has two groups of choices.
    
    The question text is on two lines.
    
    ma
    mb
    mc
    
    m1
    m2
    m3
    
    4. This is a matrix-multiple answer question.
    [[MultipleAnswer]]
    
    ma
    mb
    mc
    
    m1
    m2
    m3
    
    [[Block]]
    5. What is your gender?
    
    Male
    Female
    

    Preparing an Advanced Format TXT File

    When using the Advanced TXT format each part of the question must be explicitly defined using the “[[]]” tags. The tags begin with “[[” and end with “]]” with no spaces in-between the brackets.

    Question Type Codes

    • [[MC]] – Multiple Choice
      • [[SingleAnswer]] – Single answer question
        • [[Vertical]] – Vertical layout
        • [[Horizontal]] – Horizontal layout
      • [[MultipleAnswer]] – Single answer question
        • [[Vertical]] – Vertical layout
        • [[Horizontal]] – Horizontal layout
      • [[DropDown]] – Dropdown list
      • [[Select]] – Select box
      • [[MultiSelect]] – Multiple answer select box
      • [[Matrix]] – Matrix Table
        • [[SingleAnswer]] – Single answer question
        • [[MultipleAnswer]] – Multiple answer question
    • [[TextEntry]] or [[TE]] – Text Entry
      • [[SingleLine]] – Single line question
      • [[Essay]] – Essay box question
    • [[ConstantSum]] or [[CS]] – Constant Sum
    • [[RankOrder]] or [[RO]] – Rank Order
    • [[Text]] or [[DB]] – Text/Graphic (Descriptive Block)

    Other Tags

    • [[SimpleFormat]] – Specifies the file is a simple formatted file.
    • [[AdvancedFormat]] – Specifies the file is an advanced formatted file.
    • [[ED:{field}:{value}]] – Adds embedded data to the flow with the given field. If value is specified then the field will be set to that value.
    • [[Question:{question type code}:{question sub-type code}:{question sub-sub-type code}]]– Specifies a new question with a specific type, either MC, Matrix, TE, CS, RO, or DB. Optionally a question sub type code can be used.
    • [[Choices]] – Specifies the choices for a multiple choice question or the statements for a matrix question (one per line after the tag).
    • [[Answers]] – Specifies the choices for a matrix question (one per line after the tag).
    • [[AdvancedChoices]] – Specifies we are using advanced choice formatting allowing for recode values and multiline choices.
    • [[Choice:{recode value}]] – Specifies the start of a choice. An optional recode value can be used to set the recode value of the choice.
    • [[AdvancedAnswers]] – Specifies we are using advanced answer formatting allowing for recode values and multiline answers.
    • [[Answer:{recode value}]] – Specifies the start of an answer. An optional recode value can be used to set the recode value of the answer.
    • [[MultipleAnswer]] – Specifies that the question should be a multiple answer question.
    • [[ID:question ID]] – Specifies question ID.
    • [[PageBreak]] – Specifies a page break.
    • [[Block]] – Specifies a block should begin.
    • [[Block:block name]] – Specifies a block should begin with a specific name.

    Example of Advanced .TXT formatting:

    Example – Advanced Text File: AdvancedExample.txt

    [[AdvancedFormat]]
    
    [[ED:State]]
    [[ED:Gender]]
    [[ED:SawSurvey:1]]
    
    [[Block:MC Block]]
    
    [[Question:MC:Dropdown]]
    drop down
    [[Choices]]
    a
    b
    c
    
    [[Question:MC:Select]]
    select
    [[Choices]]
    a
    b
    c
    
    [[Question:MC:MultiSelect]]
    multiselect
    [[Choices]]
    a
    b
    c
    
    [[Question:MC:SingleAnswer:Horizontal]]
    single answer horizontal
    [[Choices]]
    a
    b
    c
    
    [[Question:MC:MultipleAnswer:Horizontal]]
    multiple answer horizontal
    [[Choices]]
    a
    b
    c
    
    [[Block]]
    
    [[Question:MC]]
    [[ID:q1]]
    This is a multiple choice question. With one value recoded.
    
    [[AdvancedChoices]]
    [[Choice]]
    a choice
    with text on
    multiple lines
    [[Choice]]
    b
    [[Choice]]
    c
    [[Choice:99]]
    N/A with recode 99
    
    [[PageBreak]]
    
    [[Question:Matrix]]
    This question is a matrix question.
    
    It has lots of question text on multiple lines and uses
    advanced answers.
    
    [[Choices]]
    statement a
    statement b
    statement c
    [[AdvancedAnswers]]
    [[Answer]]
    answer 1
    [[Answer]]
    answer 2
    [[Answer]]
    answer 3
    
    [[PageBreak]]
    
    [[Question:Matrix]]
    This question is a matrix question and uses advanced choices and
    answers with recode values.
    
    [[AdvancedChoices]]
    [[Choice]]
    a
    [[Choice]]
    b
    [[Choice]]
    c
    [[Choice]]
    d
    
    [[AdvancedAnswers]]
    [[Answer:10]]
    answer 1 - recode 10
    [[Answer:20]]
    answer 2 - recode 20
    [[Answer:30]]
    answer 3 - recode 30