Static HTML ID Namespace Rewriter
Prefix HTML IDs and known local ID references while preserving all unmodified source bytes.
Loading tool…
How to use Static HTML ID Namespace Rewriter
Prepare a self-contained static HTML fragment for reuse by changing its identifiers and known IDREF attributes together. Source locations preserve comments, formatting and unrelated attributes; the result is a plain-text source download.
- Enter input, id prefix.
- Choose the settings for static html id namespace rewriter, then run the tool.
- Review the result and any limitations before copying or downloading it.
Good to know
- 100,000 markup characters, 20,000 nodes, 60 levels and unique simple ASCII IDs of 1–100 characters. Prefixes use up to 30 simple ASCII characters.
- Rejects templates, foreign SVG/MathML, scripts, styles and event/style attributes. Known IDREF attributes and exact # fragments only; arbitrary data attributes, CSS/JS references and legacy named anchors are outside scope.
- Processing is local. Output is limited to 1,000,000 text characters unless a stricter file limit is stated.
Common questions
Is the rewritten source rendered in this page?
No. It remains text in the result and download. Inspect unresolved references and validate the fragment in its intended application before using it.
Is this input sent to a server?
No. The application processes this input inside your browser tab and does not save it to persistent storage.
Keep going with related tools
All developer →Heading Outline Auditor
List h1–h6 headings and flag empty text or skipped levels in supplied HTML.
DeveloperHTML Formatter and Minifier
Format static HTML or remove ordinary comments while preserving all other source characters.
AccessibilityForm Label Auditor
Inspect explicit and wrapping labels, duplicate IDs, and declared ARIA label references in static forms.
AccessibilityStatic Form Entry List Preview
Preview ordered repeated form field names and text values under a narrow static no-submitter profile.