Download complete Udemy Video course for free

Today I will show you how you can download any Udemy video course for free. This method works on PC, MAC as well as Linux.

Download udemy course for free

To continue you will require python installed on your system. If you already have python installed on your PC, you can skip the installation.

  1. First of all download python from official python site and install it on your PC.
  2. Now you would need to go to Start menu and search for “Environmental variables “
  3. Once you are there, add “path” as “C:\Python34;C:\python34\scripts”. For reference, see the image below.
  4. download-udemy-courses-free
  5. Restart your PC. This step is recommended but sometimes you might get it working without needing to reboot.
  6. Now you need to open Windows Powershell and run following command.
  7. pip install youtube-dl
  8. If everything went right, youtube-dl script will get installed on your system and you can proceed to next step.
  9. Now you can simply download any course from udemy by entering following command.
  10. youtube-dl -u USERNAME -p PASSWORD URLOfCourse
  11. Don’t forget to replace USERNAME with your Email address, PASSWORD with your actual password and URLOfCourse with URL of the course.

Note: You can only download those courses which are added in your Udemy account.  If you have purchased the course, only then you can download the course.

If you are facing any issue while installing or downloading, please make sure that you have updated youtube-dl. Simply run this command, “youtube-dl – U” to update the script. If the problem still presists, then contact the developer.

If you liked our effort, don’t forget to share it with friends on social networks and follow us on twitter, Google+ and YouTube.

Similar Posts


  1. There’s something missing …. in which quality those videos are downloaded? You said HD like what? 720p or 1080p?

    1. The Videos are downloaded in 720p HD
      1080p is FHD btw.

    2. UdemyStudent says:

      I tested it on a course I normally watch in 1080p, and the downloaded file was in 1080p resolution. It looked perfect.

      Just a quick reminder to anyone considering using this, when you are being asked to blindly trust a program that expects your login credentials, be very careful. I’d advise removing your credit card info from your Udemy account and also changing your password to a unique one you’ve never used on any other online accounts before, before using this script.

      1. This script is an opensource piece of code, that means everyone can see what this script does and can use it for their use. Youtube-dl has been around for a while, and if there has been any malicious thing in this script then it would have been found by now.
        Yes, it is good to be safe than sorry. 🙂

  2. how to get udemy dl
    for free

    1. udemy-dl has been taken down because of copyrights infringement. You should use youtube-dl which is mentioned in this tutorial.

  3. I just came to thank you, I could download all right, thank you!

    1. Thanks Alberto. Welcome to the community.

  4. Great! works fine, thanks.

    1. In the same directory where you executed the download command

  5. The term ‘youtube-dl’ is not recognized as the
    name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was
    included, verify that the path is correct and try again.
    At line:1 char:1
    + youtube-dl -U
    + ~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (youtube-dl:St
    ring) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    I was getting this..what should i do?

    1. Dinesh Kumar says:

      Don i suffered with the same error but in my case i tried doing this, instead of giving(C:\Python34;C:\python34\scripts) this as a path search where has your python got installed and give it as path it was this in my case.
      and restart it started working for me.

  6. Ashok Kumar N Rao says:

    Can you please help me with info on how to run youtube-dl on MAC?

  7. tried everything and it didn’t work, so frustrating

  8. Hi.It is your great Work.thank You
    can you please guide me how to resolve the issue when downloading in power shell stops due to any reason after downloading couple of videos for example total videos are 10 .and it stops after 5 and again ask for command like
    ps e:\course>

    1. I think you can resume the download by executing the same command again.

  9. How can I download the subtitles of the course? It has sub when I watch it in browser, but use –list-subs it tell me has no subtitles.

  10. tell me i am facing this error while downloading

    [udemy:course] Downloading login popup
    ERROR: Unable to download webpage: (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)’),))

  11. Abu Monsur says:

    Thanks for the trick. Can you pls inform how to uninstall it later if I want?

  12. can u specify for mac download

  13. Waiting for update specifically for mac download.
    Thanks in advance.

  14. where is the download folder?

    1. Download folder is the location where you want to download the course. For example, if you want to download in the D: drive then you can type D: and press Enter. After that if you will download, the course will be downloaded inside D: Drive.

  15. N Mohanty says:

    How can we down load the partial of the course (not all video at a time, if no of videos are more)?
    and also can we down load file size 720p or less? If so then tell the both way to do.

    1. You can select which quality of video you want to download using the format selection.

      I will update the post for that soon.

      As far as I know, you can not download partial course.

  16. What is going to happen when I shut down my pc, while download isnt complete? And when I turn on my pc, will it starts from where it stopped? or I have to run those commands again?

    1. You will have to run the download command again.

  17. i get the above error :
    [udemy] Downloading login popup
    ERROR: Unable to download webpage: (caused by URLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)’),))

  18. Thanks for sharing this great guide, but the day 23 Dec 2017 this dll stop working, how can upgrade the Dll, please need info.


  19. Please help for this error:
    [udemy:course] Downloading login popup
    [udemy:course] Logging in
    [udemy:course] mikrotik-routing-all-in-1-video-bootcamp: Downloading webpage
    ERROR: Course 1264466 is not free. You have to pay for it before you can download. Use this URL to confirm purchase: htt

    1. The error seems very clear to me. It looks like you have not completed the enrollment of the course. First you will need to enroll into the course and once you own the course, this error will be gone.

  20. Dear STEVE,
    Respectfully asked how to make enroll a paid course! Please help me…

  21. I am getting this error
    [udemy] 3346870: Downloading webpage
    [udemy] 3346870: Downloading lecture JSON
    [udemy] 3346870: Downloading lecture JSON
    ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on . Make sure you are using the latest version; see on how to update. Be sure to call youtube-dl with the –verbose flag and include its complete output.

    1. Hello Manoj. The 403 Forbidden error is a permissions error. Either you don’t have the given course in your udemy account or the folder you are trying to download to, is not writable by your user.

  22. Guillermo says:

    Hi !
    When I tried to download the couse, the program give me a problem:

    D:\udemy\JavaScript – ECMAScript6>youtube-dl -u XXXXXXXXXXX -p XXXXXXXXXXX
    [udemy:course] Downloading login popup
    [udemy:course] Logging in
    [udemy:course] ecmascript-6-es2015: Downloading webpage
    [udemy:course] 866398: Downloading course curriculum
    [download] Downloading playlist: JavaScript: ECMAScript 6 y todos sus detalles
    [udemy:course] playlist JavaScript: ECMAScript 6 y todos sus detalles: Collected 66 video ids (downloading 66 of them)
    [download] Downloading video 1 of 66
    [udemy] Downloading login popup
    [udemy] 5224504: Downloading webpage
    [udemy] 5224504: Downloading lecture JSON
    ERROR: No video formats found; please report this issue on . Make sure you are using the latest version
    ; see on how to update. Be sure to call youtube-dl with the –verbose flag and include its complet
    e output.

    How can I solve this problem ?

    1. I would recommend you to contact the script developer.

  23. Irfan Ali says:

    Wow really Amazing method I use this method all the time.

  24. [udemy:course] Downloading login popup
    ERROR: Unable to download webpage: HTTP Error 403: Unauthorized (caused by ); please report this issue on . Make sure you are using the latest version; see on how to update. Be sure to call youtube-dl with the –verbose flag and include its complete output.
    PS C:\Windows\system32>

Leave a Reply

Your email address will not be published. Required fields are marked *