--- title: "Import groups" slug: "import-groups" tags: ["Totara Learn", "How-to", "Explainer", "Content Creator"] updated: 2025-07-22T10:52:18Z published: 2025-07-22T11:18:39Z canonical: "totara.help/import-groups" --- > ## Documentation Index > Fetch the complete documentation index at: https://totara.help/llms.txt > Use this file to discover all available pages before exploring further. # Import groups Instead of manually [creating course groups](/19/docs/create-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: 1. Go to *Course administration > Users > Groups* from the **Administration** block while in a course. 2. Click **Import group**. 3. Browse to the desired file or drag and drop it into the upload area. 4. 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 - [Edit and delete groups](/19/docs/edit-and-delete-groups) - [Manage group members](/19/docs/manage-group-members) - [Group creation settings](/19/docs/group-creation-settings) Join the [Totara Community](https://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](https://www.gnu.org/licenses/licenses.html#GPL) and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.