What is MDN Web Docs?
MDN Web Docs is the documentation site run by Mozilla at developer.mozilla.org. It explains how the building blocks of the web work: every HTML element, CSS property and JavaScript feature, plus browser APIs like Fetch, Geolocation and service workers. Each reference page says what a feature does, shows code examples and includes browser compatibility data, so you know where it will work.
MDN began in 2005 as DevMo, a community wiki, and became the Mozilla Developer Network in 2010. Today it is an open source project owned by Mozilla and written with a global community of volunteers and partners, and its content is shared under a Creative Commons licence. Beyond the reference you get MDN Learn, a structured course for beginners, and free tools such as the Playground for live coding and HTTP Observatory for checking a site's security. The docs are free for everyone, and MDN Plus is an optional subscription with personal extras.
Main Features
- Reference pages for every HTML element, CSS property and JavaScript feature
- Guides to web APIs such as Fetch, the History API and web workers
- Code examples and browser compatibility data on reference pages
- MDN Learn, a structured curriculum for new web developers
- The Playground for trying HTML, CSS and JavaScript live
- HTTP Observatory, a free check of a website's security setup
- CSS generators for box shadows, border radius, shapes and colours
- Docs in several languages, including Spanish, French, Japanese and Chinese
How to Get Started with MDN Web Docs
- Open developer.mozilla.org in your browser.
- Search for an element, property or function, such as flexbox or fetch.
- Read the reference page and copy the code example you need.
- Check the compatibility data to see which browsers support it.
- New to coding? Start with the MDN Learn curriculum.
MDN Web Docs Pricing
MDN Web Docs is free to read, and you do not need an account for any of the documentation, MDN Learn or the tools. Mozilla says the docs will stay free and open for everyone. MDN Plus is an optional subscription that adds personal features such as Collections of saved pages, filtered Updates and MDN Offline. A free MDN Plus plan lets you try a limited version, and paid plans unlock the rest.
Who Should Use It?
- Front end developers looking up a property or API
- Beginners learning HTML, CSS and JavaScript
- Students on web development courses
- Designers who write their own CSS
- Teachers planning web development lessons
MDN Web Docs Alternatives
- DevDocs puts docs for many languages and frameworks into one fast, searchable page.
- Can I Use shows at a glance which browsers support each web feature.
- freeCodeCamp teaches web development with free interactive lessons and projects.
Frequently Asked Questions
Is MDN Web Docs free?
Yes. All the docs, MDN Learn and tools like the Playground are free to use. MDN Plus is an optional paid subscription with extra personal features.
Who runs MDN Web Docs?
Mozilla. MDN is an open source project owned by Mozilla and written with a global community of volunteers and partners. The official site is developer.mozilla.org.
Do I need an account to use MDN?
No. You can read every page without signing in. An account is only needed for MDN Plus features.
Does MDN Web Docs use AI?
Only as an optional extra. The docs are written by Mozilla's team and community contributors. MDN Plus includes AI Help, a separate assistant you sign in to use, and the reference pages work without it.
Is MDN content open source?
Yes. The content lives on GitHub, where anyone can suggest changes, and it is published under a Creative Commons licence.
