hreflang Tag Checker
Paste your page's HTML source to validate your hreflang implementation.
1. Paste HTML Source Code
Analysis results will appear here.
Tags Found
0
Errors
0
Warnings
0
Detailed Report
hreflang Analysis Report
Generated on
Analysis Details
No hreflang tags were found in the provided HTML.
`; } else { analysis.details.forEach(detail => { let issuesHtml = detail.issues.map(issue => { const color = issue.type === 'error' ? 'red' : 'yellow'; return `
${statusIcon}
${detail.href}
hreflang="${detail.hreflang}"
- ${issuesHtml}
Tags Found
${lastAnalysis.tagsFound}
Errors
${lastAnalysis.errorCount}
Warnings
${lastAnalysis.warningCount}
${i.type.toUpperCase()}: ${i.message}
`).join(''); detailsHtml += lastAnalysis.details.map(d => { let issues = d.issues.map(i => `URL: ${d.href}
hreflang: "${d.hreflang}"
${issues ? `- ${issues}
Status: OK
'}