If you want to learn how to code, there are plenty of places to start that won’t cost you anything.
In fact, we’d actually recommend trying a free option first. If you want to get deeper into a programming language later on, that’s great! But to really figure out if you enjoy a certain language, using a free resource is a great starting point.
But where to begin? We’ve made an expansive list of 40 places to where you can start learning to code for free. Because we’re helpful like that.
I. Learn to Code for Beginners
Curious about coding? Want to learn to speak geek? Don’t be overwhelmed — this beginner course is the perfect introduction to web development and programming.
Featuring free access to Python, SQL, Git, and much more. More than 100 courses, practice challenges, data projects, and more.
QuickCode offers free trials for courses in a number of various programming languages. Unique courses include making a platformer and building a virtual assistant.
Coursera lets users take courses from top universities for free. Unlike most of these sites, you have to enroll for an upcoming class. It’s a bit different, but may provide a great experience.
Unlike Coursera, MITOpenCourseWare offers old courses, and from one university: MIT. Within programming languages, there are numerous options. It can be tough to navigate, but not if you start at the link we’ve included.
II. Learn HTML & CSS
Shay Howe’s page is a training guide for both HTML and CSS. Howe breaks coding down into 12 simple lessons, and offers advanced lessons if you’d like to go further.
MarkSheet is a solid free option for HTML and CSS, and it breaks down lessons for absolute beginners, designers, and developers. MarkSheet’s Jeremy Thomas is also offering a new eBook, “Learn CSS in 44 minutes.”
Mozilla’s network has a number of different options for those looking to learn coding, and HTML and CSS are on the list. The network also offers a frequently updated blog, and an open community which allows users to make suggested changes.
Easy to remember and easy to get into, it’s a good starting point for true newbies. Front and center, the site offers a series of challenges as soon as you load up the homepage.
Learn JS is a straightforward site with tutorials. The site features code and output windows that can give you an immediate idea of what your code is doing. You can also contribute tutorials yourself.
You don’t have to like cats to use this site, which teaches the basics. But it won’t hurt to be feline-inclined. This site is probably one of the quickest reads on the whole list, which makes it ideal for novices.
III. Learn Python
From the same people who brought you Learn JS, Learn Python is a clean site with plenty of tutorials. Again, users can contribute their own tutorials, as well.
The course offer the basics of Python with a focus on business use cases. In this course you’ll learn BeautifulSoup for web scraping, Pandas for data analysis, run a Flask server, and much more! While there is an enrollment cost, the free trial allows 7 day free access to the course!
PythonSpot has a similar look to LearnPython. It offers complete tutorials for Python 2 and Python 3. There’s a long list right on the homepage, but don’t be alarmed — it’s all compartmentalized to make things easier to digest.
VI. Learn Ruby
If you’re curious in learning Ruby, why not check out the official Ruby site? It offers a way to try Ruby from within your browsers, and also includes a tutorial called Ruby in Twenty Minutes.
Michael Hartl’s tutorial is basically an online book, but some people may learn better this way. Even though it’s an eBook, the tutorial still offers plenty of screenshots and images.
V. Learn SQL
A tutorial page for learning SQL that features screenshots. It offers a number of steps to get into SQL, and a helpful tool called MySQL TryIt.
Features basic interactive courses for a number of SQL topics including functions and queries. A helpful Course Advisor lets users know where to begin.
VI. Learn The Command Line
A free command Line basics video course that can be completed in under one hour.
Another free Michael Hartl offering, this one is focused on Command Line. The full title? Learn Enough Command Line To Be Dangerous. It’s designed to appeal to a broad audience, so everyone is welcome to start here.
VII. Git and Github
As its name implies, users are immediately immersed in Git in order to learn the basics. A no-nonsense site with a slightly different approach.
A list of resources for learning Git. It includes the GitHub Learning Lab, which offers a series of projects. The site’s Git-It tool can be downloaded to your computer for a hands-on tutorial.
VIII. Learn WordPress
The title sort of says it all, doesn’t it? A free site of resources for WordPress newbies. The blog also answers a lot of questions beginners may have.
If you’re better when learning from video, WordPress.tv features a number of helpful vids. The site includes new updated videos in a blog.
IX. Learn iOS & Mobile App Development
A free iOS app from Apple that teaches users how to learn its own programming language. If you’re already used to using iPad apps, this may feel as much like a game as learning a new language.
What Swift Playgrounds is to iOS, this is for prospective Android developers. There’s a bootcamp for beginners, but a number of intermediate and advanced courses, as well.
Another popular resource focused on learning to develop for Android. It can feel a bit much, but a Get started section offers the chance to get right into building your first app.
X. Learn Machine Learning/AI
Free machine learning/AI courses from the folks at Google. It’s a Google-backed site, so as you might expect, it’s clean and easy to navigate. Features machine learning guides and a crash course, too.
Machine Learning Mastery comes as a free eBook, but the site features tutorials and guides, as well. This site stresses that it aims for helping developers through straightforward language, promoting its relative lack of math compared to other machine learning sites.