Instead of manually creating course groups, it may be quicker to import groups from a spreadsheet or text file. If you have exported groups from another site then these can be imported as a text file.
Follow these steps to import your groups:
- Go to Course administration > Users > Groups from the Administration block while in a course.
- Click Import group.
- Browse to the desired file or drag and drop it into the upload area.
- Click Import groups.
Import file
To import records you will need to construct a text file where the first line represents the fields to be imported (like column headings) and then each row is a new import record. You will need to use commas to separate the data, like columns. Below is an example of what the file might look like.
groupname,description,enrolmentkey
Group 1,The first group,group1
Group 2,The second group,group2
Only the groupname field is compulsory, while all other fields are optional (description, enrolmentkey, picture, and hidepicture).
Next steps
Join the Totara Community for more resources to help you get the most out of Totara.
© Copyright 2025 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.