DOCX Fields, Links and Embedded Objects: What Survives Conversion?

November 08, 2026 · DOCX.now Editorial · DOCX Troubleshooting

Explain field updating, linked versus embedded objects, OLE risk and destination-format loss.

How Fields, Links, and Embedded Objects Differ in a DOCX

A DOCX file stores three categories of content that are not static text. Fields are instructions that an application executes to produce a result—page numbers, cross-references, table of contents entries, dates, or mail merge placeholders. Links are pointers to external URLs, internal bookmarks, or email addresses. Embedded objects are binary or XML-based files packed inside the DOCX archive, such as an Excel workbook or a PNG image. Each category breaks for a different reason during conversion. Recognizing which category you are handling determines whether you can preserve the content or must accept its loss.

Why Fields Break and How to Inspect Them Before Conversion

Fields are stored as w:fldChar XML elements with instruction text inside w:instrText. The application reads the instruction, executes it, and displays the result. When a converter opens the file, it typically does not execute the instruction. It copies the last computed result as static text or, if no result was cached, displays an error string such as Error! Reference source not found..

To verify field health before conversion, select the entire document in Microsoft Word (Ctrl+A) and press F9. This forces every field to recalculate. If any field shows an error or a stale value, the source document already contains a broken reference. Converting it will preserve only the broken state. For a deeper check, rename the .docx file to .zip and open word/document.xml. Search for <w:fldChar w:fldCharType="begin"/> and the adjacent <w:instrText> elements. Their presence confirms live fields that a non-evaluating converter will either strip or render as visible instruction text.

Simple page numbers inserted through the header or footer UI usually survive as static text because most converters render the last computed value. Mail merge fields never survive conversion to PDF, HTML, or plain text because the external data source is absent. Cross-references to numbered items, headings, or bookmarks require recalculation against the document structure. The target ID may remain in the XML, but the new application cannot resolve it. A Table of Contents is a field that regenerates from heading styles. Converted documents show a static list of entries that will not update. Calculated fields such as = SUM(ABOVE) in a table cell require a formula evaluator that only Microsoft Word and a few compatible editors supply.

How Links Fail Even When They Look Intact

A hyperlink in DOCX is stored as a <w:hyperlink> element. The target is held in a relationship attribute (r:id) that points to an entry in word/_rels/document.xml.rels. The display text is ordinary paragraph content inside the hyperlink element. When a converter processes the file, it must preserve both the relationship and the element structure to output a working link.

A link that appears clickable in the source can fail after conversion for two reasons. First, the converter may treat the link as plain text and drop the w:hyperlink wrapper. Second, the relationship entry in the rels file may be missing or corrupted. To diagnose this, open word/_rels/document.xml.rels and confirm that every r:id in document.xml has a matching Relationship element with TargetMode="External" for URLs or a valid Target for internal bookmarks. If a relationship is absent, the link is broken regardless of the converter.

External URLs with a proper relationship survive conversion to PDF and HTML because those formats support anchor tags. Mailto links survive identically. Internal bookmarks survive only if the converter preserves the bookmark anchor and creates a corresponding hyperlink target. Many converters drop invisible bookmarks. Auto-detected URLs—typed as www.example.com without an applied Hyperlink style—are plain text with a character style. They contain no w:hyperlink element. Most converters see them as ordinary characters and do not wrap them in a hyperlink, so they become inert text in the output.

Embedded Objects and the OLE Problem

Embedded objects that are not images—Excel workbooks, PowerPoint slides, Visio diagrams—are stored as binary blobs in the word/embeddings/ directory inside the DOCX archive. The w:object element in the XML references these blobs. When you double-click an embedded Excel sheet in Word, Word launches Excel in-place through OLE. A converter does not launch Excel. It encounters an opaque binary part and must either ignore it, display a placeholder icon, or render a cached bitmap preview if one exists. Interactivity and underlying data are lost.

To determine whether an object is embedded or linked, right-click it in Word and open the object properties. A linked object shows a path to an external file. A linked object is even more fragile because the converter must locate the external file at conversion time. If the file has moved, the object breaks. To confirm embedding, inspect the DOCX archive. The presence of .bin, .xlsx, or .pptx files inside word/embeddings/ confirms an embedded OLE object. Images reside in word/media/ and survive conversion as static images in PDF and HTML. Embedded Excel workbooks, PDFs, audio, and video do not survive. The converter does not parse the binary object to extract its contents.

Destination-Format Limits You Cannot Work Around

The target format imposes hard restrictions that no source preparation can overcome. Plain text has no concept of a hyperlink, field, or embedded object. Every dynamic element becomes static characters or is dropped. HTML preserves external hyperlinks and images but turns fields into their last computed text. Embedded OLE objects are not rendered. Internal links may break if the HTML exporter does not generate matching anchor IDs. PDF preserves external hyperlinks and static images. Fields become static text. Embedded objects are ignored unless the converter explicitly renders a static image of the object, which most do not. EPUB behaves similarly to HTML but preserves internal navigation more reliably when the converter generates proper EPUB navigation documents.

Steps to Take Before You Convert

Update every field in the source DOCX by selecting the entire document and pressing F9. Save a copy. This ensures that the last computed value is current, even after the field logic is discarded.

Extract embedded OLE objects manually. For each embedded Excel or PowerPoint object, double-click it in Word to open it in its native application, save the embedded file separately, and then reinsert it as a static image or a linked file if the target format supports linking.

Replace cross-references with plain text when the target format cannot recalculate them. Use Find and Replace or a macro to copy the current reference text and paste it as static content.

Verify hyperlink relationships by opening the DOCX as a ZIP archive. Check that every r:id in document.xml has a matching relationship in document.xml.rels. Missing relationships mean broken links in any output format.

What No Converter Can Preserve

No converter can make an embedded OLE object interactive in PDF, recalculate a cross-reference in plain text, or resolve a mail merge field without the data source. The DOCX format, defined in ISO/IEC 29500 and referenced in the Microsoft Open Specifications at https://learn.microsoft.com/en-us/openspecs/office_standards/ms-docx/, is a container for instructions and binary parts. It is not a runtime engine. Field instructions and OLE objects are stored as application extensions that only a compatible application can execute. If the dynamic behavior is required, the file must remain a DOCX opened in Word. If a portable file is required, the loss of that behavior is unavoidable.