Backup workbench

The workbench uses JavaScript to inspect your backup locally. The backup guide and format references below also work without JavaScript.

Import restores backups exported by SwoLifts. It is not a way to add spreadsheet workouts, create historical sessions, or transfer history from another app. Keep your original exported ZIP unchanged for restoring; use a separate copy for analysis.

Save a backup on your computer

These phone actions require SwoLifts 1.2.0 or later. Quick Share is provided by Android and Windows; SwoLifts itself does not connect to your computer.

  1. Set up your PC. Get Quick Share for Windows from Google. Follow its setup and visibility instructions, and keep the phone and PC nearby with Bluetooth and Wi-Fi enabled. Google's setup and troubleshooting guide covers device compatibility.
  2. Send your backup. In SwoLifts, open Settings, then Share backup, choose Quick Share, then choose your PC. Open the received ZIP in the workbench above.
  3. Restore when needed. Send the original, unchanged SwoLifts ZIP to your phone using Quick Share. Open it with SwoLifts, review the preview and confirm Import backup. You do not need to edit or rebuild the ZIP.
SwoLifts Settings with Share backup, Export to file and Import Workout DataView larger ↗
Open Settings, then choose Share backup or Export to file.
SwoLifts backup restore preview with record counts and an exercise merge warningView larger ↗
Choose your original SwoLifts ZIP, read the preview and confirm only when it is the backup you intend to restore.

USB fallback: use Export to file, connect the phone with a USB cable and select File transfer on the phone. Copy the ZIP between Downloads folders using Windows File Explorer. Open the returned ZIP with SwoLifts, or select it through Settings, then Import Workout Data.

Format reference

Blank CSV Format

Header-only files for understanding backup columns. These are not a template for creating workouts to import. Create and log workouts in the app.

Download Blank ZIP
Worked example

CSV Format Example

Sample data for exploring the workbench and understanding backup columns. It is not your backup or a way to convert another app's history.

Download Example ZIP

The reference files match the 421 exercises in SwoLifts 1.2.0. Download the exercise reference. For backup and restore, use an unchanged ZIP exported by SwoLifts. These examples do not convert another app's workout history.

Backup workflow

Back Up Your Data and Restore It When Needed

The CSV files may be at the ZIP root or inside a wrapping folder. Files in examples/ are reference examples and are not imported.

  1. Export a ZIP from SwoLifts and keep the original unchanged. The blank and example ZIPs above are format references.
  2. Open the backup here to inspect its contents. For spreadsheet analysis, extract a separate copy and keep the original ZIP safe.
  3. To correct a workout, edit it in SwoLifts and export a fresh backup. Editing and re-importing a CSV is not a supported correction workflow.
  4. When restoring or moving phones, use the original ZIP with the same or a newer SwoLifts version. Do not remove files, change IDs, or rebuild it from a spreadsheet.
  5. Copy that original ZIP to your Android device.
  6. Open SwoLifts and go to Settings, then choose Import Workout Data.

Exporting existing data

Every export contains valid CSV files with headers, plus sample files under an examples/ folder. SwoLifts ignores files under examples/ during import. Leave the original archive intact for restoring.

Keep exact values and identities

A backup contains exact weights, timestamps, record IDs and links between workouts, sets and exercises. Keep these values intact by restoring the original SwoLifts ZIP. The workbench does not generate the records and relationships needed to import history from other apps.

File checks cannot guarantee a restore: the browser cannot inspect data already on your phone. Review the app's import preview. If a backup reports a problem, export a fresh copy from SwoLifts or contact support.

CSV rules

Format Requirements

This reference explains exported files for inspection and analysis. It is not a guide to constructing an import.

  • Files are UTF-8 CSV, with or without an Excel byte-order mark (BOM). Values containing commas, quotes, or line breaks must be quoted, and quotes inside values must be doubled.
  • The first row is the header. Do not remove or rename columns.
  • Blank cells mean no value. Leave optional fields blank when unused.
  • Exports include pounds and exact kilogram columns. Keep both in the original backup; use the exact kilogram values when analyzing data.
  • Dates and times use ISO 8601 UTC, for example 2026-04-17T14:30:00Z.
  • Exercise names must match a built-in exercise or a row in custom_exercises.csv. Import matching tolerates common casing, punctuation, and spacing variants; abbreviations do not prove identity.
  • bodyweight.csv is exported for external tools only. Workout bodyweight snapshots are stored as bodyweightLbs in workout_sessions.csv.
Supported files

CSV Reference

These are fields found in a SwoLifts backup. Preserve the complete original ZIP for restoring.

custom_exercises.csv

Custom exercises created in SwoLifts. Built-in exercises are not listed here.

ColumnRequiredNotes
nameYesUnique exercise name.
primaryMuscleGroupNoDefaults to Other if blank.
categoryNoStrength, Cardio, Bodyweight, Stretching, or Other.
equipmentNoAny descriptive equipment value.
loggingTypeNoreps_weight, duration_only, duration_distance, or sets_duration. Defaults to reps_weight.
loadTypeNoexternal_weight, bodyweight, weighted_bodyweight, or assisted_bodyweight. Used for reps_weight exercises.
source, sourceId, sourceLicense, sourceUrlNoOptional source metadata.
isDeletedNotrue or false. Defaults to false.

workout_templates.csv

ColumnRequiredNotes
idYesTemplate ID assigned by SwoLifts and referenced by template_exercises.csv. Preserve the exported value.
nameYesTemplate name. Existing names are skipped on import.
descriptionNoOptional template description.

template_exercises.csv

ColumnRequiredNotes
templateIdYesMust match an id in workout_templates.csv.
templateNameNoInformational only. Ignored by import.
exerciseNameYesBuilt-in exercise name or custom exercise name.
orderIndexYesZero-based exercise position in the template.
targetSets, targetRepsNoWhole numbers.
targetWeightLbsNoDecimal pounds for external or weighted bodyweight targets.
targetAssistanceWeightLbsNoDecimal pounds for assisted bodyweight targets.
targetDurationSecondsNoWhole seconds for duration targets.

workout_sessions.csv

ColumnRequiredNotes
idYesWorkout ID assigned by SwoLifts and referenced by exercise_sets.csv. Preserve the exported value.
templateNameNoInformational only. Imported sessions are not linked back to templates.
nameYesWorkout name.
startTimeYesISO 8601 UTC timestamp.
endTimeNoISO 8601 UTC timestamp. If blank, the start time is used — imported sessions are always treated as completed.
notesNoOptional workout notes.
bodyweightLbsNoBodyweight snapshot for that workout.

exercise_sets.csv

ColumnRequiredNotes
sessionIdYesMust match an id in workout_sessions.csv.
exerciseNameYesBuilt-in exercise name or custom exercise name.
setNumberYesOne-based set number.
repsNoWhole number of reps.
weightLbsNoDecimal pounds for external or weighted bodyweight work.
assistanceWeightLbsNoDecimal pounds for assisted bodyweight work.
durationSecondsNoWhole seconds.
distanceMetersNoDecimal meters for cardio distance.
rirNoReps in reserve, as a whole number.
completedAtNoISO 8601 UTC timestamp for when the set was completed. If blank, the session's end time is used so imported sets still count toward Progress charts and PRs.
notesNoOptional set notes.
Merge behavior

Duplicate Imports Are Skipped

Import is designed as a merge, not a blind append.

  • Custom exercises are skipped when the normalized exercise name already exists.
  • Workout templates are skipped when a template with the same name already exists.
  • Workout sessions are skipped when the same workout name and start time already exist.
  • Sets and template exercises attached to skipped parent rows are skipped with the parent, so importing the same export again should not duplicate the data.

Validation warnings

SwoLifts reports warnings for missing required columns, invalid numbers, invalid dates, unknown exercises, or child rows that do not match a parent row. Valid rows can still import even when other rows have warnings.