x

Main chapters

  1. Get started
  2. Workspace
  3. Editor
  4. Question types
  5. Share
  6. Results
  7. Configuration
  8. Installation and updates
  9. Profile and personal settings
  10. Account and billing
  11. FAQs
  12. Development
 Actions

Display/Export survey

From LimeSurvey Manual


Introduction

Exporting saves a survey as a file: its questions, question groups, logic and settings. Use the file as a backup, to move the survey to another LimeSurvey site, or to share it with a colleague who imports it. You can also export the survey to edit it in a spreadsheet, or print it and enter paper answers later with the data entry function.

Exporting a survey is not the same as exporting its responses. For the answers of your participants, see Export responses.

You can export a survey in the new editor and in the classic editor, and several surveys at once from the survey list. See also Export a survey in the introduction to surveys.

Export a survey

In the new editor

  1. Open the survey and click the ... menu at the top right of the editor (1).
  2. Point to Export under Tools (2).
  3. Click the format you need (3). The file downloads right away.
New editor ... menu in LimeSurvey Cloud with numbered markers on the ... menu, Export under Tools and the export formats, Survey archive greyed out
New editor ... menu with numbered markers on the ... menu, Export under Tools and the export formats, Survey archive greyed out

In the picture: 1 the ... menu, 2 Export, 3 the formats. Survey archive is greyed out while the survey is not active.

In the classic editor

Open the survey and click Export in the top bar of the survey. A window lists the formats. Click a format to see a short description of it on the right, then click Export.

Classic editor survey overview with an arrow pointing to the Export button in the top bar of the survey
  Warning : Before selecting one of the formats, read the detailed explanations below to understand the pros and cons of each one. A short summary of each format is also shown when you select it in the export window:


Classic editor Export window listing the export formats, with Survey structure (.lss) selected and its description on the right


The classic editor lists Survey archive only for active surveys, and offers queXML PDF export and one Printable survey entry for each survey language.

Export several surveys at once

  1. In the survey list, switch to the list view with the list icon at the top right.
  2. Select the surveys with the checkboxes.
  3. In the bar at the bottom of the page, click Export and choose Survey archive (*.lsa), Survey structure (*.lss) or Printable survey (*.html).

You get one ZIP file with a file for each survey. Survey archives are exported only for active surveys.

Export formats

  • Survey structure (.lss): the structure of the whole survey (groups, questions, subquestions, answers, conditions and settings) in an XML file. The right choice for a backup or a move in most cases.
  • Survey archive (.lsa): a complete backup of an active survey, including the responses.
  • queXML format (.xml): the survey in the queXML standard, for tools that read queXML, for example to make paper questionnaires. Not all question types can be exported.
  • queXML PDF export: like queXML, but LimeSurvey creates the PDF for you. You find it in the classic editor.
  • Tab-separated-values format (.txt): the structure as a table, for bulk editing in a spreadsheet program such as Microsoft Excel or LibreOffice, and importing it again. Useful especially for large surveys.
  • Printable survey (.html): a ZIP file with the survey as HTML pages, for printing or putting on any HTML-ready device or browser.
  • Printable survey: the printable version in your browser, to read or print all questions at once.


Export survey structure (.lss)

Once you have finished a survey with branching and many questions, you will want a backup. This export saves all the groups, questions, answers, conditions and settings of your survey in a .lss file (which is basically an XML file). Use the file with the Import function to create a new survey from it. See Import a survey.

Please note: This file does not contain any collected responses or participants.

If your survey uses a custom theme, export the theme separately. The survey imports fine on another site, but if its theme doesn't exist there, the global default theme is used. Export the theme under Themes on the original site and import it on the new site.


Export survey archive (.lsa)

This export creates a complete backup of an active survey for archiving. The .lsa file is a ZIP file with:


  Warning : Files that participants uploaded in a file upload question are not in the archive. Export them separately.



Use the archive to look at the results of a past survey again by importing it into LimeSurvey. Because it contains responses, it is available only while the survey is active.


Export queXML format (*.xml)

queXML is an XML description of a questionnaire. It is not suitable for backing up your work in LimeSurvey, as it cannot export conditions or all question types. Exporting a questionnaire to queXML allows you to create PDF documents that can be printed, filled in, then scanned and processed with the queXF software. The export is an XML file in the base language of the survey.

It currently exports the following Question types:

  • Arrays
    • Array 5 point choice (A)
    • Array 10 point choice (B)
    • Array Yes/Uncertain/No (C)
    • Array Increase/Same/Decrease (E)
    • Array flexible row format (F)
    • Array flexible column format (H)
    • Array (flexible Labels) Dual Scale (1)
    • Array (Multi Flexible) (Numbers) (:)
    • Array (Multi Flexible) (Text) (;)
  • Mask questions
    • Date (D)
    • Gender drop down list (G)
    • Numerical question type (N) - defaults to width of 10
    • Multiple Numerical Input (K)
    • Boilerplate (X)
    • Yes/no radio buttons (Y)
  • Multiple choice questions
    • Multiple options checkbox (M)
  • Single choice questions
    • Drop down list (!)
    • 5 point choice (5)
    • Drop down/radio button list (L)
    • Drop down list (W)
    • List with comment (O)
  • Text questions
    • Multiple short text (Q)
    • Short free text (S) - defaults to text input width of 240 "boxes"
    • Long free text (T) - defaults to longtext field with 1024 display rows
    • Huge free text (U) - defaults to longtext field with 2048 display rows
  • Not yet implemented:
    • Ranking style (R)
    • Slider control (^)
    • Multiple options with comments (P)


Export queXML PDF

It has the same advantages and disadvantages as the queXML format option. The difference is that you can adjust the PDF before exporting it: language, styles, sizes, page orientation and format, and more. You find it in the export window of the classic editor. Once the option is selected, the following default options are loaded:


queXML PDF export options with language selection, style, box heights, font sizes, page orientation, page format and the queXML PDF export button

Click queXML PDF export at the top right to download a ZIP file with the PDF.


Notes:
  1. To learn more about the available options in LimeSurvey, see queXML PDF export.
  2. To learn more about queXML, see the queXML website.

Export tab-separated-values format (.txt)

This format makes it easy to author and edit surveys in spreadsheet programs. It completely eliminates the dependence upon SGQA codes.

It also makes it easy to do bulk editing of your survey, such as find-replace, bulk-reordering, looping (repeating groups), and testing (such as temporarily disabling mandatory or validation criteria). Check out the dedicated documentation for this format.


Export printable survey (*.html)

The questionnaire can also be exported in two printable formats. The first one downloads a ZIP file with the survey in all your survey languages. The ZIP file contains the stylesheets needed to put it up on any HTML-ready device or browser.

Please note that it does not contain any logic or ExpressionScript functionality. You have to take that into account yourself when designing or editing the questionnaire.

Export printable survey

Unlike the previous option, this one opens the survey as a printable page in a new browser window, with all styles loaded. Press Ctrl/Cmd+P or select print in your browser menu to print it. Like the .html option, it does not contain any logic or ExpressionScript functionality.

FAQ

Why is Survey archive greyed out?

A survey archive contains responses, so it is offered only while the survey is active. For the questions alone, use Survey structure (.lss).

Are responses in the .lss file?

No. A survey structure file has no responses and no participants. To keep responses, export a survey archive of the active survey, or export your responses.

Can I export a single question or question group?

Yes, in the classic editor: in the Structure tab, the ... menu of a question group or a question has Export. A group is saved as a .lsg file, a question as a .lsq file, and you can import them into another survey. See Question groups - introduction and Questions - introduction.

See also