21 Websites to Learn How to Code for Free Online

Hello there, if you are someone who is learning programming and coding by yourself and looking for some awesome resources then you have come to the right place. In this article, I am going to share 21 websites you can use to learn the code for free from the comfort of your office and home.

1. plurasight.com
One of the best website to learn any technology or IT courses e.g. programming language like Java, web development framework e.g. Spring Framework, Hibernate, etc. It's also now acquired CodeSchool which earlier allows you to learn web technologies by doing it. I use this website to learn a lot of cool stuff in no time.

2. udemy.com
One of the best place for online learning. you will get online courses in all the latest technology and programming language like Java, Spring,  Data Structure and Algorithms, Selenium, REST, etc. It provides both free and paid resources.

Here is a couple of useful free course to learn some of the interesting technologies:
  1. Java Tutorial for Complete Beginners (sign up here)
  2. Easy to Advanced Data Structures (click here to join free)
  3. Introduction To Python Programming (sign up here)
  4. Advanced and Object-Oriented JavaScript and ES6 (sign up here)
The paid resources are also very cheap and you can purchase on just $9.99 during their flash sale, which happens quite often. It's full of some of the great teachers like Colt Steele, Rob Percival, Stephen Grider, Josh Portilla, John Purcell, etc.

3.  Coursera
This is another awesome website to learn online. It' founded by Stanford professors Andrew Ng and Daphne Koller and it offers courses, specializations, and degrees The best part of Coursera is that it offers online courses from Universities like Stanford, University of London, University of Michigan, Colorado, Imperial College of London and many more.

It provides both free and paid online courses and specialization. Some of my favorite free programming courses from Coursera are :
  1. Algorithms Part I and Part 2 by Robert Sedgewick (join for free)
  2. Machine Learning by Andrew Ng (click here to join free)
  3. Python for Everybody (click here to join free)
Coursera also provides you Certification, which you can showcase in your Linkedin profile, but you need to pay for it. 

4. try.github.io
A fantastic website to learn Git in 15 minutes. The best part of this website is that it is a meta website which means it contains some of the most useful resources to learn Git online like Learn Git branching which will teach you Git commands right from your web browser. It will not only help you to understand basic git commands but challenging git concepts like a branch, merge, revert, cherry-pick, rebase, etc  There is another awesome resource, Visualizing Git which will help you explore how Git commands affect the structure of a repository within your web browser with a free explore mode, and some constructed scenarios.

5.  onemonth.com
Learn to code and build web applications in one month. This is not exactly a free website though, you need to buy a bootcamp style course. The site has courses to learn Python, Ruby, and JavaScript in 30 days and they teach in a bootcamp style which makes it a very effective learning place. Btw, they have a free trial! 2) A handful of free courses like the Command Line course. 3) They also have free Learn to Code with One Month Podcast coming soon

6. codecademy.com
Interactive tutorials to learn some of the most popular technologies like JavaScript, Java, Linux for free. It also has some paid courses to learn advanced concept on Python, Java and JavaScript. Btw, this is one of the first website which brought interactive learning into picture. It's JavaScript course is probably the most popular course to learn JavaScirpt online.

7. freecodecamp.org
This is another awesome community website which will help you to learn to code for free, build real-world projects and get a job as a developer. It has a massive collection of interactive tutorials and exercises to learn JavaScript, Data Structure and Algorithms, Frontend Development and so on. Founded by Quincy Larson this is a really awesome place to start your coding journey. They even have a big Facebook group where you can ask questions and share your learning experience.

8. codingbat.com
Another good site to learn to code contains a lot of free programming exercise to build the coding sense in both Python and Java.

9. code.org 
The perfect website to start learning coding and basics of computer science. My kids use this website to learn to code by playing with the Minecraft game.

10. code4startup.com
A great website to learn how to code by building real companies. A great website which teaches you Web Development from scratch by building 4 real Online Businesses in 3 Months e.g. Airbnb, Uber, etc. No experience needed.

11. codeabbey.com
Lots of programming exercises to learn to code.

12. sqlzoo.net
Interactive SQL tutorials complete with quizzes, perfect to improve your SQL query skills

13. baserails.com
Master Ruby on Rails through project-based learning. This is also a paid website which works on membership, cost around $25 per month but their style is great. They will teach you new technologies or programming language by actually building stuff that works.

14. teamtreehouse.com
Another great website full of interactive tutorials and courses to learn any programming language or web technology. Though you need a membership to access its content, which cost around $25/month you can explore with a 7-day free trial.

15. codecombat.com
You can play a game and learn to code in Python and Javascript. One of the best interactive and fun side of learning online.

16. tryhaskell.org
Learn Haskell with free interactive lessons.

17. railsforzombies.org
Learn Ruby on Rails by watching videos and completing the exercises This is now merged with Pluarlsight.

18. thinkful.com
A different kind of website where you can choose a course and get assigned a mentor.

19. rubymonk.com
Free interactive tutorials to help you discover Ruby idioms in your browser. The site has separate courses for beginner, intermediate, and expert Ruby developers to further hone their knowledge of Ruby programming language.

20. tryRuby.org
Another great website to learn Ruby online. This is also now merged with Pluarlsight and you need a membership to access its content.

21.  learnpython.org
A great website to learn the basics of Python. One of the most popular programming languages of this decade which allows you to do a lot of stuff from simply automating trivial stuff to developing websites and now used in Machine learning and Data Science.  If you need more reasons to learn Python, see this article.

21 Websites to Learn How to Code for Free OnlineThat's all about some of the best website to learn how to code for free. These websites are great resources to learn a programming language like  Python and Java, evergreen technology like SQL, operating systems like Linux, Web development frameworks like  Ruby On Rails, Functional programming language like Haskel, learn to build a website and several other types of free courses.

Other Useful Free Resources for Programmers

Thanks for reading this article so far. If you like this article then please share with your friends on Facebook. If you have any questions or feedback then please drop a note.


  1. Useful websites

    1. Thanks @Anonymous, both egghead.io and exercism.io is good websites. Thanks for sharing with us.