W3docs
Tutoriels gratuits · Sans inscription

Apprenez les langages du Web.

Livres, exemples exécutables, exercices et quiz gratuits pour HTML, CSS, JavaScript, Python, PHP, Java et Git. Essayez chaque exemple directement dans votre navigateur — sans installation, sans inscription.

2.4M développeurs par mois
2,400+ tutoriels gratuits
8,900+ snippets & outils
Éditeur en direct

Essayez chaque exemple,
directement dans votre navigateur.

Chaque exemple de code sur W3docs a un bouton « Essayez vous-même ». Modifiez la source, exécutez, voyez le résultat instantanément. Sans configuration, sans installation.

  • HTML, CSS, JavaScript, SQL, Python, PHP et plus.
  • Enregistrez vos modifications, partagez un lien, exportez en fichier.
  • Fonctionne sur mobile. Vraiment.
Ouvrir l'éditeur
index.html
<!DOCTYPE html>
<html>
<head>
  <title>Hello</title>
</head>
<body>
  <h1>Welcome to W3docs</h1>
  <p>Edit me ↓</p>
</body>
</html>
Sortie
Welcome to W3docs

Edit me ↓

Exercices

Pratiquez. Résolvez. Recommencez.

Exercices pratiques groupés par langage, résolus directement dans le navigateur.

Outils

Essayez l'un de nos outils.

Utilitaires en ligne qui fonctionnent directement dans votre navigateur — sans installation, sans inscription.

</>

HTML Editor

Live HTML/CSS/JS editor with preview.

Password Generator

Strong, unique passwords on demand.

⇄

HTML Encoder

Escape HTML entities both ways.

±

Code Diff

Side-by-side diff for any two snippets.

{}

JSON Beautifier

Pretty-print and validate JSON.

.css

CSS Beautifier

Tidy stylesheets, shorthand, sort properties.

md

Markdown Converter

Convert Markdown to HTML on the fly.

#

Number Converter

Binary, octal, decimal, hex — all directions.

JWT

JWT Decoder

Decode, verify, and inspect JSON Web Tokens.

Browser feature detection

Check what's supported in your browser.

Phrase encrypt / decrypt

Symmetric phrase encryption made simple.

B64

Base 64 Converter

Encode / decode text and files.

Tailwind Color finder

Find the nearest Tailwind class for any color.

.*

Regex Tester

Test regular expressions live with match highlighting.

▶

Online Code Runner

Run Python, PHP and Java code in your browser.

A∩B

Compare Two Lists

Find differences, matches and duplicates in two lists.

php

PHP Functions Online

Run single PHP functions on real PHP 8.2.

±

JSON Diff

Compare two JSON documents structurally.

csv

Compare Two CSV Files

Diff two CSV files by a key column.

Y-m-d

Date Format Tester

Test PHP, Python, Java and JS date formats.

◐

Image Diff

Compare two images pixel by pixel.

flex

Flexbox Playground

Tweak flexbox visually and copy the CSS.

grid

CSS Grid Generator

Build grid layouts visually and copy the CSS.

csv

CSV Fixer

Fix CSVs that open in one column or garbled in Excel.

8.4

PHP Upgrade Checker

Check Composer packages for PHP 8.4 compatibility.

{}…

JSONL Validator

Validate JSON Lines and NDJSON line by line.

Prêt à commencer à apprendre ?

Créez un compte gratuit pour enregistrer vos progrès et recevoir la newsletter hebdomadaire.

Sans carte bancaire. Désinscription à tout moment.