Architecture
Your .docx file is opened as a ZIP archive and modified directly via XML manipulation. Only hyperlinks are added — fonts, sizes, colors, headings, tables, lists, images, page setup, and styles all remain byte-for-byte untouched.
Everything happens client-side. Your documents never leave your browser.
Heading Protection
Headings (H1 through H9, plus titles, subtitles, and TOC entries) are never interlinked. A paragraph is treated as a heading if any of these are true:
- Has a w:outlineLvl element (safety net for custom heading styles)
- Style matches Heading 1, Heading 2, etc.
- Style is Title or Subtitle
- Style name contains "heading" (catches custom names)
- Style is a TOC entry
- All text in the paragraph is bold AND the paragraph is under 200 characters (catches "fake headings" — paragraphs styled as headings via bold formatting rather than a proper heading style)
Core Interlinking Rules
- Multi-word anchors prioritised, single-word as fallback. For each URL, multi-word anchors are tried first across the whole document. A single-word anchor is only used if no multi-word anchor for the same URL matched anywhere in the document — ensuring URLs still get linked when no multi-word opportunity exists.
- One URL per document. Once a URL is linked, it can't be used again.
- Highest Search Volume wins. Within each tier (multi-word, then single-word), the highest-volume anchor is tried first.
- Whole-word, case-insensitive matching. "loan" won't match "loaned".
- First match wins. Only the first body occurrence of an anchor is linked.
- Existing hyperlinks preserved. If text is already linked, it stays as-is.
- Page-type exclusions apply via case-insensitive substring match.
Service vs Blog Mode
- Service Page: Auto-excludes Blog, About Us, PDF, News, Events, Announcement, Testimonial. Anchors ranked by Search Volume.
- Blog Page: No default exclusions. Service pages prioritised. After natural matching, "Read More" suggestions are added for related unused blogs (if ≥2 topic keywords appear in a body paragraph).
"Read More" Phrase Rotation
Phrases rotate from: Read More, Recommended to Read, Learn More, Know More, Further Reading, Must Read, Suggested to Read.
Known Limitations
- Anchors spanning multiple formatting runs are skipped. If part of an anchor is bold and another part isn't, Word stores them as separate runs and the match is left alone.
- First-time use requires internet to load the libraries. After that, the browser cache makes it offline-capable.
Output
The result is downloaded as [original]-interlinked.docx, ready to share with clients. It opens correctly in Microsoft Word, Google Docs, LibreOffice, and any other Word-compatible app.