LSS File Guide: How to Create, Open, Convert, and Migrate LimeSurvey Files

The LSS file is LimeSurvey's native survey structure format. If you work with LimeSurvey, you will use LSS files for backups, migrations, environment transfers, and platform conversions. This guide covers everything: what an LSS file contains, how to export and import one, how to convert it to Qualtrics or other platforms, and how it compares to the QSF format used by Qualtrics.

What Is an LSS File?

An LSS file (LimeSurvey Structure file) is an XML-based export format that captures the complete structure of a LimeSurvey survey. It stores every question, group, answer option, relevance condition, and survey setting in a single portable file. Export a survey as LSS, move the file to another LimeSurvey instance, and import it to recreate the survey exactly.

What LSS contains : and what it does not

Contains: Question groups, questions, subquestions, answer options, display logic (relevance equations), survey settings, language configuration, quotas.

Does not contain: Response data, participant lists, collected answers, tokens, or any data submitted by respondents.

What Is Inside an LSS File

LSS files are valid XML. Open one in any text editor and you will see a structured document with these key elements:

XML ElementWhat It StoresExample Content
<surveys>Survey-level settingsTitle, language, format, navigation type
<groups>Question groupsGroup name, description, display order
<questions>Individual questionsType code, title, text, mandatory flag
<subquestions>Matrix rows and sub-itemsRow labels for matrix and ranking questions
<answers>Answer optionsAnswer code, text, sort order
<conditions>Branching logicDisplay conditions between questions
<defaultvalues>Pre-filled answersDefault response values
<quotas>Quota settingsQuota limits per answer option

LimeSurvey Question Type Codes in LSS

Every question in an LSS file has a type code. These are the most common ones you will encounter:

Type CodeQuestion TypeQualtrics Equivalent
LSingle choice (radio)MC:SingleAnswer
MMultiple choice (checkbox)MC:MultipleAnswer
SShort free textTE:SingleLine
TLong free textTE:Essay
FArray (5-point Likert)Matrix
BArray (10-point scale)Matrix
!Dropdown listMC:SingleAnswer (dropdown)
XText display (descriptive)DB (Descriptive Block)
RRankingRankOrder
NNumerical inputTE:SingleLine (validated)

How to Export an LSS File from LimeSurvey

How to Import an LSS File into LimeSurvey

LSS vs QSF: Key Differences

FeatureLSS (.lss)QSF (.qsf)
PlatformLimeSurveyQualtrics
File formatXMLJSON
Contains response dataNoNo
Contains logic/conditionsYes (relevance equations)Yes (display logic)
Directly interchangeableNo : requires conversionNo : requires conversion
Open withLimeSurvey, any XML editorQualtrics, any JSON editor
Convert to other platformsVia Pirai AI (coming soon)Via Pirai AI (live now)

How to Convert an LSS File to Another Platform

The most common conversion need is LSS to Qualtrics QSF : moving a LimeSurvey survey into Qualtrics when an institution switches platforms. The second most common is LSS to other survey platforms for multi-platform research.

MigrationOutput FormatGuide
LimeSurvey to Qualtrics.qsfMigration guide
LimeSurvey to REDCap.csv Data DictionaryImport guide
LimeSurvey to SurveyMonkey.txt Paste Your ContentImport guide
LimeSurvey to Google Forms.txt Apps ScriptImport guide
LimeSurvey to Microsoft Forms.docx Quick ImportImport guide

LSS direct upload coming soon to Pirai AI. Currently, export your LimeSurvey survey as LSS, then use the LSS file as input. When direct LSS upload launches, conversion to all 20+ platforms will be available in one step from the LSS file. Sign up at platform.piraiai.com to be notified.

Migrate your LimeSurvey surveys to Qualtrics, REDCap, or 20+ other platforms.

Try Pirai AI
Also useful for:

lss file guide, lss file format, limesurvey lss file, what is lss, lss file extension, lss xml structure, limesurvey question type codes, lss to qsf converter, lss to qualtrics, convert lss file to qualtrics, open lss file, create lss file, lss file limesurvey guide, lss vs qsf comparison, limesurvey structure file format, lss survey format guide, how to use lss file, limesurvey export lss import lss.

For a shorter overview, see What Is an LSS File?. For the QSF equivalent, see What Is a QSF File? Complete Guide. For migrating from LimeSurvey to Qualtrics, see How to Migrate from LimeSurvey to Qualtrics. For the full migration reference, see the Survey Platform Migration Guide.