๐Ÿ” HTML5 Validator

Checks for common HTML issues like mismatched tags, duplicate ids, and missing alt attributes.

โš ๏ธ Practical checker โ€” not a full spec validation at the level of the official W3C validator

How to use

  1. Enter your HTML code.
  2. Click "Check".
  3. Issues like mismatched tags, duplicate ids, and missing alt are listed.

๐ŸŽฏ Use Cases

Example

Input
<!DOCTYPE html>
<html>
<img src="logo.png">
<p id="main">A</p>
<p id="main">B</p>
</html>
Output
โŒ 5๋ฒˆ์งธ ์ค„: id="main" ๊ฐ€ 4๋ฒˆ์งธ ์ค„๊ณผ ์ค‘๋ณต๋ฉ๋‹ˆ๋‹ค
โš ๏ธ 2๋ฒˆ์งธ ์ค„: <html> ์— lang ์†์„ฑ์ด ์—†์Šต๋‹ˆ๋‹ค
โš ๏ธ 3๋ฒˆ์งธ ์ค„: <img> ์— alt ์†์„ฑ์ด ์—†์Šต๋‹ˆ๋‹ค

The duplicate id="main" is reported as an error (โŒ), while the missing lang on <html> and the missing alt on <img> are reported as warnings (โš ๏ธ), each with the line number where the issue occurs. Messages are shown in Korean.

FAQ

Does it give the same results as the official W3C validator?
No. This tool is a practical checker focused on common issues โ€” mismatched tags, duplicate ids, missing alt, etc. โ€” and isn't a full HTML5 spec validation.
What does it flag as a warning?
It warns about a missing DOCTYPE, deprecated tags (center, font, etc.), a missing lang attribute, and missing alt on img elements.
Is the code I enter sent to a server?
No. It's checked entirely in your browser.

More Coding Tools

๐Ÿ“˜
JSON Formatter
Prettify, validate & minify JSON
๐Ÿ—“๏ธ
Timestamp Converter
Convert Unix timestamp โ†” date
๐Ÿงฉ
JSON String Encoder
Convert text โ†” JSON string literal
โœจ
JS/CSS Formatter
Indent & tidy JS/CSS code
โœ‚๏ธ
JS/CSS Minifier
Strip comments & whitespace
๐Ÿงฝ
HTML Formatter
Indent HTML by tag structure
๐Ÿงน
XML Formatter
Indent XML by tag structure
๐Ÿ—ƒ๏ธ
SQL Formatter
Break SQL into clauses & indent
๐Ÿ”ฃ
HTML Entity Encoder
Convert special chars โ†” HTML entities
๐Ÿ“Š
Excel to HTML Table
Convert spreadsheet data to HTML TABLE
โ›“๏ธ
Link Extractor
Extract href/src links from HTML
๐ŸŽจ
Color Picker
Get HEX, RGB & HSL color codes
๐Ÿ˜
PHP Syntax Checker
Check bracket/string pairing (practical checker)
๐Ÿ—„๏ธ
MySQL Syntax Checker
Check bracket/quote pairing (practical checker)
โœ๏ธ
Online HTML Editor
Write & edit HTML visually