Skip to main content

CSV Importing

You can currently import Challenges, Users, and Teams using a CSV file. Unlike regular CTFd imports, anything imported via CSV will not remove existing content.

If you go to the Admin Panel -> Config -> Backup -> Import CSV page, you'll see the options to import CSV files.

You can fill the sample CSV files below with your data to ensure the import is properly setup for the import.

Examples

Users

All columns required

Users CSV Template

Teams

All columns required

Teams CSV Template

Users with Teams

Users+Teams CSV Template

Key Notes
  • team_name is used to match/create teams - if multiple rows share the same team_name, those users join the same team
  • team_captain accepts true, 1, or yes (case-insensitive) to designate a team captain
  • team_email and team_password are only used when creating a new team (first occurrence of that team_name)
  • Leave team columns empty for users without a team
  • If you have custom user/team fields configured, add them as extra columns after password (for user fields) and after team_captain (for team fields), using the field name as the header :::

Challenges

The description, flags, hints, and tags columns are optional. If you are creating a standard challenge, type_data is also optional

Challenges CSV Template

Was this page helpful?