The best online coding courses in 2022

If you want to learn to code, the best online coding courses are probably the most convenient option. They off the flexibility to allow you to study the aspects of coding that interest you wherever you are, and whenever you’re free to study. This makes them the perfect solution if your location or working hours don’t let you attend a coding course in a physical location. But the best online coding courses are also often a good option when it comes to cost too. 

There’s a huge variety of online coding courses available these days, so it’s very unlikely that you won’t be able to find one that suits you, no matter your level or what coding language you wish to study. The quality, materials and support offered by coding courses can vary a lot, however, which can make it difficult to choose the best online coding course for you. That’s why we’ve compiled this list of top providers based on our own experience and research.

You’re likely to recognise the names of some of the coding course providers we list, while others may be new to you. Some of them specialise in coding courses specifically, or even in particular areas of coding, while others are general online education providers with vast catalogues of online courses, including coding courses on different topics and for different levels. We’ve based our ratings based on our overall impression of each provider’s course structures, delivery methods, resources, expert knowledge and community support and on feedback from users. We’ve also endeavoured to include providers that offer online coding courses aimed at both beginners and at those looking to expand their skills.

In our experience, paid-for coding courses almost always offer a more thorough grounding than free coding courses, but we have also included the best free online coding courses that we’ve been able to find. These can offer a very welcome entry point for beginners who aren’t yet ready to commit to a paid course. You can always go deeper with a paid course once you’re sure that you want to take your coding further. 

If you’re starting out coding, you might want one of the best monitors for programming to help minimise eye strain while you work. We also have a guide to the best laptops for programming. And if you’re looking to expand your knowledge and skills in other high-demand areas, take a look at our essential online UX design course.

The best online coding courses to start today

Screengrab from Coursera, provider of some of the best online coding courses

(Image credit: Coursera)

01. Coursera

The best online coding courses for academic rigour

Specifications

Price:

From free

Topics include:

Coding fundamentals, Python, Java, game development

Free trial:

7 days

Visit Site

(opens in new tab)

Reasons to buy

+

University-generated material

+

Many courses are free

+

A large range of topics and courses

Reasons to avoid

Paid courses only have a short free trial

For a well-regarded, academically rigorous coding course, we highly rate Coursera. The site was founded by Stanford professors, and continues to work with universities, colleges and corporations to offer a comprehensive suite of courses, degrees and specialisations. And while it might come as a surprise, Coursera has a good number of free coding courses on offer (though you’ll generally have to pay if you want to receive the final certificate).

The platform has almost 300 online coding courses, from Python and Java to C and C++. There are some good beginner-level coding courses – we’d recommend looking at ‘Web Design for Everybody: Basics of Web Development & Coding’ from the University of Michigan if you’re starting from scratch. More advanced users may want to try something like IBM’s ‘Applied AI with Deep Learning’ course. Wherever you are on your coding journey, we’ve found Coursera to be a superb choice for learning new coding skills.

Screengrab from Pluralsight, provider of some of the best online coding courses

(Image credit: Pluralsight)

02. Pluralsight

The best online coding courses with fun and quirky videos

Specifications

Price:

From $29/£24 per month

Topics include:

Python, Ruby, Java, HTML, C++, software development, IT Ops, cyber security, machine learning

Free trial:

10 days

Visit Site

(opens in new tab)

Reasons to buy

+

Quirky, fun approach

+

A huge number of courses

+

High-quality content 

Reasons to avoid

Short free trial

Of all the providers in our guide to the best online coding courses, Pluralsight may strike you as having the most attractive site. We love the platform’s clear, easy-to-use layout. Course content is also top-notch in our experience. You can set up a ‘path’ through a number of different courses to give yourself a comprehensive grounding in multiple subjects, or just opt for a single course on one topic.

We also rate the videos, which have a kind of quirky charm to them. Some users have compared the experience to watching Bill Nye, which is a solid recommendation in our book. It certainly beats a lot of the quite dry resources offered by many online course providers. The way it works is pretty simple – you view the video, then work on your tasks, checking back in with the video for pointers if needed. There’s also a system whereby you can earn points in classes to ‘buy’ answers, providing a handy lifeline if you get truly stuck. 

A screengrab from Udemy, provider of some of the best online coding courses

(Image credit: Udemy)

03. Udemy

The biggest range of coding courses around

Specifications

Price:

From free

Topics include:

PHP, Sass, JAMStack, React, Vue.js, MySQL, Django, Python, WordPress

Free trial:

7 days

Today’s Best Deals

Udemy

(opens in new tab)

Visit Site

(opens in new tab)

at Udemy

(opens in new tab)

Reasons to buy

+

Huge range of topics

+

Affordable prices

+

Some courses are free

Reasons to avoid

Platform not coding-focused

Udemy offers a truly huge catalogue of online courses on all kinds of topics. And while it isn’t explicitly coding focused, it has the biggest selection of online coding courses we’ve seen, with over 500 JavaScript courses and close to 1,000 Python courses. Whatever area of coding you’re looking to learn about, we’re pretty confident that you’ll find a course for it. 

While the vast number of courses available (over 183,000 at the time of writing) does make it tricky to dig out the good stuff, if you have a little patience and willingness to sift through what’s there, you’re highly likely to find something that fits what you’re looking for. The price range is as broad as the range of courses, running from free to hundreds of dollars, so there’s something for every budget, although of course how much you pay will often show in the completeness of the course.

Screengrab from Free Code Camp, provider of some of the best free coding courses

(Image credit: Free Code Camp)

04. Free CodeCamp

The best free online coding courses

Specifications

Price:

Free

Topics include:

Responsive web design, JavaScript, Python, front-end development, data visualization, APIs and microservices, coding interview prep

Free trial:

Not needed

Visit Site

(opens in new tab)

Reasons to buy

+

Free coding courses

+

Offers certification

+

Industry-focused

Reasons to avoid

Can be hard to choose the best option

One of the best resources for those who want to learn to code without spending anything, Free Code Camp is a non-profit interactive learning platform. It offers more than 6,000 tutorials, and the people behind the site claim that it has more than 40,000 graduates working at tech firms, including giants like Microsoft and Google. 

The learning at Free Code Camp is based on an integrated code editor. This lets you save as you go and starts you off with a thorough grounding in the basics. The courses on offer do offer certification, generally requiring you to build five required projects to prove you’ve mastered the relevant skills. There are courses focused on responsive web design, machine learning, JavaScript algorithms and loads of other topics. We find it to be well designed to fit around other commitments and a good option to gain a grounding in the skills you need for coding jobs.

Screengrab from the Shaw Academy, provider of some of the best online coding courses

(Image credit: Shaw Academy)

05. Shaw Academy

The best online coding courses for making your first app

Specifications

Price:

From £49.99 /month

Topics include:

Web design, web development, mobile app development, coding for kids

Free trial:

28 days

Visit Site

(opens in new tab)

Reasons to buy

+

University certified

+

Range of courses

+

Cheap

Reasons to avoid

Platform not coding-focused

Shaw Academy offers a suite of coding courses, and they’re pretty popular – the Web Design course has more than a million graduates. Certified by Austin Peay University, the academy’s courses are mainly pitched at beginners, and they’re well placed for anyone who’s just starting out on their coding journey. There are courses in Python programming and even a coding for kids course.

We’d particularly recommend looking at Shaw Academy if you’re looking to create an app, as the coding and technology class covers this specifically. There’s also help on offer for making a website using HTML, CSS and JavaScript. Best of all, a generous free trial period of four weeks gives you a good long time to try a course out before deciding if you want to sign up. If you do, there are a few different payment plans available. 

screengrab of Tuts+, provider of some of the best online coding courses

06. Envato Tuts+

Free online coding courses and more

Specifications

Price:

Free

Topics include:

HTML5, JavaScript, PHP, WordPress, Adobe XD, app development

Free trial:

No

Visit Site

(opens in new tab)

Reasons to buy

+

Decide how to learn 

+

Range of topics

+

Courses are free

Reasons to avoid

Platform not coding-focused

Envato Tuts+ is a broad training platform that offers courses on various aspects of design, from coding and web design to 3D and illustration. There are thousands of free courses, guides and how-to tutorials. While Envato Tuts+ is a fantastic resource for design knowledge in general thanks to its vast range of content, at the same time this does make it sometimes difficult to find a course that interests you, since courses range from very brief introductory guides to more advanced courses. But if you take the time to rummage around, you’ll find a wide range of free courses on JavaScript, React, PHP, Laravel and more.

Screengrab from Skillshare, provider of some of the best online coding courses

(Image credit: Skillshare)

07. Skillshare

The best online coding courses for niche areas

Specifications

Price:

Price: from free; paid access from $32 per month

Topics include:

CSS, HTML, JavaScript, WordPress

Free trial:

one month

Visit Site

(opens in new tab)

Reasons to buy

+

Taught by industry pros

+

Mobile app

+

Some courses are free

Reasons to avoid

Platform not coding-focused

Monthly subscription

If you’re looking for something more specific, Skillshare is a subscription-based service that offers thousands of courses in different subjects. Many of its best coding courses are taught by world-class web developers such as Rachel Andrew, Christian Heilmann, and Jenn Lukas. Courses come complete with supplementary materials created by the instructors, and they include projects for you to apply your new skills to. There’s also an iOS (opens in new tab) or Android (opens in new tab) app, which we’ve found to be a convenient option to stream courses on the go.

There are some free courses, and you can get a premium subscription for free for a month, but there’s a monthly fee of $32 after that.

Photo from General Assembly, one of the best online coding courses

(Image credit: General Assembly)

08. General Assembly

The best online coding courses for live learning

Specifications

Price:

From free

Topics include:

HTML, CSS, JavaScript, Python, WordPress

Free trial:

No

Visit Site

(opens in new tab)

Reasons to buy

+

Live lectures

+

Recordings available

+

Some courses free

Reasons to avoid

The timezone issue

Prefer the idea of live coding workshops? It might sound like an anomaly these days, but General Assembly organises livestreams, ranging from ‘Intro to coding’ to ‘Python Programming Crash Course’. Some of them are free but most are paid for. To access them, you need to buy an e-ticket and then log in to the live stream when it starts (just be aware of timezone differences!). 

For those who lack the motivation to learn at their own pace, live workshops offer a good way to ‘force’ yourself to learn. On top of that, having something in the calendar means you’re more likely to find the time to do it. If you do miss the class, however, you’ll usually be able to get hold of a recording later.

Photo from Udacity, provider of some of the best online coding courses

(Image credit: Udacity)

09. Udacity

The best online coding courses for in-demand skills

Specifications

Price:

From free; nanodegrees from around $399/£299 per month

Topics include:

C++, blockchain, React, Cloud DevOps, iOS, Android, Python, JavaScript

Free trial:

7 days

Visit Site

(opens in new tab)

Reasons to buy

+

Clearly defined courses

+

Nanodegrees

+

Some courses free

Reasons to avoid

Nanodegrees not cheap

Udacity offers solid guides on many different subjects, with a big selection of free courses. It also has a range of ‘nanodegrees’, which cover in-demand skills. One part of the structure that we’ve found very useful is that all of Udacity’s coding courses are summarised before you begin, outlining the difficulty level, why the course is important, any prerequisites for taking it and the project you’ll complete at the end. It’s good knowing exactly what to expect.

Screengrab from Treehouse, provider of some of the best online coding courses

(Image credit: Treehouse)

10. Treehouse

The best gamified coding courses

Specifications

Price:

From $25 / £20 per month

Topics include:

HTML, CSS, JavaScript, Ruby, JavaScript, Python, UI/UX

Free trial:

7 days

Visit Site

(opens in new tab)

Reasons to buy

+

Gamified for motivation

+

Led by industry pros

+

iPad app

Reasons to avoid

Short free trial

Treehouse aims to make learning fun. The structure is simple: learn from the video courses (which are regularly refreshed to reflect industry changes), practise your new skills through quizzes and challenges, and earn badges to reflect the skills you’ve already mastered. We found this gamification is actually very well designed and can really help to motivate learning.

It also has one of the most comprehensive libraries of educational materials on this list. Not only does it offer a large variety of coding courses, but it also includes ‘workspaces’ where you can try out new projects in your own time and a library with videos of talks from industry professionals. It offers an iPad app to continue your learning there, too.

Screengrab from Codecademy, provider of some of the best online coding courses

(Image credit: Codecademy)

11. Codecademy

The best online coding courses for fun challenges

Specifications

Price:

From free; Pro account from $19.99/£15.99 per month

Topics include:

HTML, CSS, JavaScript, Python, SQL

Free trial:

7 days

Visit Site

(opens in new tab)

Reasons to buy

+

Easy to set up

+

Features fun challenges

+

Some courses free

Reasons to avoid

Top features require account

Codecademy is another fun option. It’s a free source of coding courses that’s easy to set up, and it allows you to create goals for yourself and find the skills you want to learn. These may range from applicable things like creating a portfolio site to silly, fun things like animating your name or building a CSS galaxy. There’s also a paid Pro version, which gives you access to exclusive quizzes, projects, and customised learning paths. 

Screengrab from Mijingo, provider of some of the best online coding courses

12. Mijingo

The best online coding courses for pros who need to stay up to date

Specifications

Price:

Free

Topics include:

Git, Craft, Soulver, Laravel, ExpressionEngine, Twig, service APIs, web performance

Free trial:

7 days

Visit Site

(opens in new tab)

Reasons to buy

+

Learn the latest techniques

+

Transcripts and starter files

+

Free

Reasons to avoid

Not for newbies

Mijingo is an online learning resource that features step-by-step video tutorials for both web design and development. Be warned, its online coding courses aren’t for beginners: they’re specifically aimed at helping web professionals get up to date with the latest developments. 

Courses focus on topics including Git, Craft, ExpressionEngine, Twig. Alternatively, you can pick a lesson on a small, specific element of a broader topic. Stream the videos or download them to any device to watch at your leisure. We’ve found the courses to be cohesive and thorough, and some offer transcripts, starter files and other resources.

Screengrab from Sitepoint, provider of some of the best online coding courses

(Image credit: Sitepoint)

13. Sitepoint

The best online coding courses for a clear pathway

Specifications

Price:

From $9 per month

Topics include:

HTML, CSS, JavaScript, Python, WordPress, DevOps

Free trial:

14 days

Visit Site

(opens in new tab)

Reasons to buy

+

Clearly defined journeys

+

Learn at your own pace

+

Great supplementary materials

Reasons to avoid

No free courses

Sitepoint offers a range of ‘paths’ to follow to learn particular coding skills. These offer a clear journey through a specific subject, such as HTML and CSS, Angular, or JavaScript. You follow these online coding courses at your own pace to complete your goals. Sitepoint also offers a range of books, courses and screencasts to supplement your learning.

Illutration of robots baking a cake at Code a Cake, provider of some of the best online coding courses

(Image credit: BT)

14. Code a Cake

The best online coding courses for kids

Specifications

Price:

Free

Topics include:

Basic coding

Free trial:

Not needed

Visit Site

(opens in new tab)

Reasons to buy

+

Child-focused

+

Free

+

Fun for adults too

Reasons to avoid

Only for beginners

If you have kids between the ages of six and 11 that are interested in learning to code, BT has found a way of teaching online coding in a way that’s great fun for youngsters. At Code A Cake, a colourful website created by AnalogFolk (opens in new tab), you create a robot-staffed bakery in order to bake a cake, using the art of coding. 

Yes, it sounds strange, but we think this is a clever way to get kids interested in picking up some basic coding skills. Parents may well learn a thing or two along the way, too.

Screengrab from EDX, provider of some of the best online coding courses

(Image credit: EDX)

15. EDX

Access coding courses from Harvard, MIT and more

Specifications

Price:

From free

Topics include:

Python, front-end web development, full-stack development, blockchain

Free trial:

Not needed

Visit Site

(opens in new tab)

Reasons to buy

+

Top-flight universities

+

A-list companies

+

Many free courses

Reasons to avoid

Certificate requires payment

EDX brings together coding courses from top universities such as MIT, Georgia Tech, UC Berkeley, and Harvard, as well as A-list companies like IBM, Microsoft, W3C and Linux, for you to learn online. There are a number of free coding courses to get you started and help you choose your path for future learning, although you’ll need to pay to get a validated certificate upon completion.

How do I choose the best online coding course for me?

to choose the best online coding course for you we recommend considering your personal learning style (for example, verbal, visual, auditory or kinesthetic). A mix of all four is often the most effective route; for example, a video-based course that has transcripts you can read with diagrams and images and practical tasks that you have to complete. App-based courses are often good for achieving this mix.

Another thing to look out for is whether the coding course offers opportunities for real problem-solving. A lot of video courses have you coding along with an instructor but don’t challenge you with the kinds of real problems you would have to solve in on a job – things like analysing cause and effect, debugging, and refactoring.

Finally, look at whether the course you’re considering has a community where you can ask and respond to questions from other students. Sometimes you can learn as much from the community of other students since this provides opportunities to share problems and queries and reinforce learning with the help of others.

What code should I learn?

What code to learn will largely depend on the sector you want to work in. For example, if you want to work in mobile apps, you’ll want to learn Java, Kotlin and Swift. If you want to work in gaming, you’ll need C++ and Unreal Engine and/or C# with Unity Engine. You’ll want to learn C language for operating systems, and for websites you’ll want JavaScript or TypeScript for front-end, Python or Ruby for back-end. For more on this, see our guide to the 4 most in-demand programming languages.

Do I need coding certification?

Certification is another factor to consider when choosing the best coding course. It can be very beneficial to have evidence of your study that you can take to interviews or add to your LinkedIn profile. Whether you need certification to prove your new skills might depend on where you want to work since qualifications are more likely to be requested if you’re applying for an in-house position.

Most courses will offer some sort of validation to certify that you’ve completed their syllabus, but, how much that is worth can depend on how recognised the course provider is, which is why we’ve been sure to include some highly recognised online coding course providers in our list above.

Do I need to learn to code to build a website

No, there is certainly no need to learn to code to build a website. If you’re not sure about taking the plunge into coding and want to get a website up and running as quickly as possible, you can do that with one of the best website builders together with the best web hosting and get online in no time at all with no coding necessary.

Web builders provide templates that you can then customise to suit your needs. Of course, how much you can customise the site is limited. And while web builders are getting better all the time, knowing at least something about html and CSS will certainly be useful if you want to do anything beyond the most basic customisations to get your site how you want it. 

You might find some web design inspiration in our selected examples of great CSS animation, and parallax scrolling and our recommended steps to achieve the perfect website layout.

Related articles:

Round up of today’s best deals

Udemy

(opens in new tab)

Udemy

(opens in new tab)

View

(opens in new tab)