11 Of the Best Places to Learn to Code for Free

Full Frame Shot Of Program Codes On Screen
••• Degui Adil / EyeEm / Getty Images

If you're itching to learn coding, but lack the time or money for a formal class, try taking a course at any of these 11 online academies. All of them offer their courses for free, and some offer certifications for a small fee.

Codecademy

Chances are if you have looked into learning to code before, you’ve encountered Codecademy, an online educational platform. It’s easy to use and displays the results as you’re coding. Codecademy offers a wide range of programming languages including HTML & CSS, JavaScript, PHP, Python, Ruby, Angularjs, Command Line, and more.

Free Code Camp

Free Code Camp starts you off with a curriculum of 800 hours of coding, followed by 800 hours of hands-on experience coding for non-profits. It’s a great way to build a portfolio after learning the skills. Available tutorials include Python, Java, Ruby, and PHP, HTML, CSS, DevTools, Node.js, Angular.js, and more.

GA Dash

General Assembly’s free online learning platform is project-based, with each lesson consisting of coding a single project. GA Dash offers HTML, CSS, and Java as well as a few course options that others don’t, such as responsive design and building a Tumblr theme from scratch.

Codewars

Codewars adds some fun with martial-arts themed challenges called kata. You gain honors and a higher rank with each complete kata. More honors and a higher rank mean more difficult challenges, so there’s always something new to work on.

Codewars requires some knowledge in one of the coding languages that they offer as a prerequisite for signing up. These include CoffeeScript, JavaScript, Python, Ruby, Java, Clojure, Haskell, with more on the way, including C++ and PHP.

Coursera

Coursera is a virtual university with a wide range of science and liberal arts courses taught by professors from leading universities, and they're all free. If you want theoretical education on data science or even an introduction to programming Android apps, this may be your best option. If you want a certificate indicating completion of a course, you will pay a small fee, from $30 to $100.

edX

edX offers a wide range of courses including programming languages, supported by universities and their professors. Many of the classes can be taken at your own pace and aren’t limited to set dates. Like Coursera, if you want credentials for the class, you’d need to pay $30 to $100.

Khan Academy

The nonprofit Khan Academy offers a wide range of educational YouTube videos in many languages. It even has one that teaches the basics of coding in one hour. Coding languages offered include JavaScript, HTML & CSS, and SQL. Many other programming and computer science topics are available.

MIT OpenCourseWare

No enrollment is necessary to access this collection of MIT course materials. Its programming topics range from introductions in engineering problem solving to algorithms used in computer animation. The assignments for some courses do not include answers to questions.

The Odin Project

Made by the creators of Viking Code School, an online coding boot camp, the Odin Project is free to all. It’s project-based and offers a final course in getting hired with your newfound skills, which is a bonus. Coding languages offered include HTML, CSS, JavaScript & jQuery, and Ruby on Rails.

Udemy

Udemy offers paid and free courses in many topics, including programming. They are community-created courses, so read the course reviews before diving in.

The Code Player

This compilation of video tutorials walks you through a process from start to finish. It may be best used in conjunction with other sites or courses, as it’s based entirely on small concepts and projects.

Your Best Choice

If you're determined to learn to code, try a few of these offerings before diving deeper into the one that is best suited to your learning style.