# Importing Data ## Plans Plans/routines can be imported from a plain text json file. The app supports exporting and an export always contain *every* current routine. If you don't want to share every plan that you have currently created, you can either: - edit the exported json with a text editor or (if you don't feel like editing json files): - open the [Demo](https://opengym.duarte-santos.ch/demo/#/home) - import your plans - make changes - export a new json file for sharing If you are using the standalone app on your mobile, you can use the demo for creating plans on your PC and import them. The demo stores all data in your browser, it is not public or shared in any way. Writing a json file yourself will be a bit of a complex task since the IDs of the exercises have to match the IDs in the database. ## History To import your history from other applications, you'll need an export that is in `CSV` format. The app tries to match the exercise names to link them to the exercises in the database. > Note: The history is a log of past exercises. > Because plans change and history does not, it is completely disconnected from routines. These apps have been tested to work without adjustments: | App | How to export | |---|---| | **FitNotes (Android)** | Settings → Backup/Export → **Spreadsheet Export** | | **FitNotes 2 (iOS)** | Export workouts as CSV; also manual/auto iCloud backups | | **Strong** | Settings → Export Data | | **Hevy** | Profile → Settings → Export & Import Data (Workouts or Measurements) | You can also create your own `CSV` file: ### Minimal Example ```csv workout name,exercise,date,weight kg,reps Leg Day,Squat,2026-08-21,120,5 Leg Day,Squat,2026-08-21,125,4 Leg Day,Leg Press,2026-08-21,200,1 ``` These field names are supported: | Canonical Field | Supported CSV Headers (first match wins) | |---|---| | `exercise` | `exercise`, `exercise name`, `exercise title` | | `date` | `date`, `workout date` | | `startTime` | `start time` | | `endTime` | `end time` | | `workoutName` | `workout name`, `title` | | `category` | `category`, `body part`, `muscle group` | | `weightKg` | `weight kg` | | `weightLb` | `weight lbs`, `weight lb` | | `weight` | `weight` | | `weightUnit` | `weight unit`, `unit` | | `reps` | `reps`, `repetitions` | | `rpe` | `rpe`, `rpe rating` | | `rir` | `rir`, `reps in reserve` | | `distanceKm` | `distance km` | | `distance` | `distance` | | `distanceUnit` | `distance unit` | | `seconds` | `seconds`, `duration seconds` | | `time` | `time`, `duration` | | `setType` | `set type` | | `note` | `comment`, `comments`, `notes`, `note` |