W3docs

Code Diff

  • Added2
  • Removed0
  • Changed1
  • Unchanged6
Side-by-side line diff between the two inputs
ChangeLeft lineLeft contentChangeRight lineRight content
1<!DOCTYPE html>1<!DOCTYPE html>
2<html>2<html>
3<body>3<body>
Changed from4 <h1>Hi</h1>Changed to4 <h1>Hello</h1>
 Added5 <p>Welcome to W3Docs</p>
5 <p>This is very minimal 'hello world' HTML document.</p>6 <p>This is very minimal 'hello world' HTML document.</p>
 Added7 <div>This is a new code!</div>
6</body>8</body>
7</html>9</html>

Paste two snippets and see the differences highlighted line by line. Useful for spotting changes between versions of HTML, CSS, JavaScript, or any other plain text.