Another way to mass-enroll students/teachers into a Moodle course (using plugin)

One day, I want to enroll more than 100 students into a Moodle course but there's no built-in feature. Then I found this amazing plugin:

Plugin download URL:

1. Download the zip file from the above link

2. In your Moodle instance, go to Site administration > Plugins > Install plugins > upload the zip file and install the plugin

3. Prepare a csv file which has the following format:


Note: you can use either login (username) or idnumber

4. Go to the course you want to mass enroll students

5. Under Administration > Course administration > Users > Click Bulk enrolments and setup as following:

  • Click Choose file and upload the csv file.
  • CSV delimiter -> select ","
  • Encoding: UTF-8
  • Role to assign: Student
  • First column contains: Email Address (or Login or Id number)
  • Create group(s) if needed: No
  • Create grouping(s) if needed: No
  • Send me a mail report: Yes

6. Click "Enrol them to my course"

Note: you can achieve the same thing by doing this.