Forum Discussion
Windows Copilot が作成したドキュメントを HTML テキスト化し、Word Copilot で構造化文書に変換する方法 — 要求次第で進化するドキュメントの作り方 —**
こんにちは。
Windows Copilot と Word Copilot を組み合わせて使う中で、
非常に興味深い挙動を発見したため共有します。
これは、
Windows Copilot にドキュメントを作成させ →
そのドキュメントを HTML 形式に変換させ →
Word Copilot に HTML として再解釈させることで、
構造化された Word 文書を自動生成する方法
です。
公式ドキュメントには記載されていない挙動ですが、
再現性が高く、実用性も非常に高いと感じています。
■ 概要
Windows Copilot に 通常のドキュメント(仕様書・説明書など)を作成させる
続けて Copilot に
「このドキュメントを HTML 形式に変換して」
と指示する
生成された HTML を Word に貼り付ける(この時点ではプレーンテキスト)
全文を選択し、Word Copilot に
「これを HTML として解釈して文書化して」
と指示する
Word の内部 HTML パーサーが起動し、
見出し・表・箇条書き・コードブロックなどが Word 文書として構造化される
■ 手順(再現性あり)
1. Windows Copilot にドキュメントを作成させる
例:
「PrinterStatVer03 の仕様書を作って」
Copilot が通常の文章として仕様書を生成します。
2. 続けて Copilot に指示する
「このドキュメントを HTML 形式に変換して」
すると、以下のような HTML が生成されます:
html
<h1>PrinterStatVer03 仕様書</h1>
<p>〜〜〜</p>
<h2>1. 概要</h2>
<p>〜〜〜</p>
3. HTML をコピーして Word に貼り付ける
※この時点では ただのテキスト として貼り付けられます。
4. 全文選択(Ctrl+A)
5. 選択文書を右クリックして出てくる、Word Copilot に指示する
「この選択範囲を HTML として解釈して、Word 文書として構造化して」
または短く:
「HTML として解釈して文書化して」
6. Word の内部 HTML パーサーが起動し、文書が構造化される
<h1> → 見出し1
<h2> → 見出し2
<table> → Word の表
<ul> → 箇条書き
<pre> → 等幅コード
7. さらに Word Copilot に指示する
「この文書に目次を追加して」
→ Copilot が見出し階層を読み取り、
AI 目次を自動生成 します。
■ メリット
Web に送信されない(ローカル完結)
Copilot が作ったドキュメントを Word 文書として再利用できる
HTML の構造をそのまま Word に反映できる
仕様書・手順書・技術文書の生成に非常に向いている
Copilot の能力を “構造化文書生成” に活かせる
■ 改善提案
「HTML を Word 文書に変換」ボタンの追加
クリップボードの HTML を直接解釈する機能
Copilot から Word 文書構造を直接生成する API
以上、非常に有用な挙動だと感じたため共有しました。
他のユーザーや Microsoft の皆様の参考になれば幸いです。
🟦 English Version(英語版)
**Title:
Converting a Document Created by Windows Copilot into HTML Text and Turning It into a Structured Word Document Using Word Copilot
— A New Way to Create Evolving Documents Based on Your Prompts —**
Hello everyone,
I discovered an interesting behavior when combining Windows Copilot and Word Copilot,
and I would like to share it here.
This method allows you to:
Ask Windows Copilot to create a document →
Ask it to convert that document into HTML →
Paste the HTML into Word →
Ask Word Copilot to reinterpret it as HTML →
Automatically generate a fully structured Word document.
This behavior is not documented officially,
but it is reproducible and extremely useful.
■ Overview
Ask Windows Copilot to create a normal document (specification, manual, etc.)
Then ask:
“Convert this document into HTML format.”
Copy the generated HTML and paste it into Word (it appears as plain text)
Select all text
Ask Word Copilot:
“Interpret this as HTML and convert it into a structured Word document.”
Word internally invokes its HTML parser
Headings, tables, lists, and code blocks are converted into native Word structures
■ Steps
1. Ask Windows Copilot to create a document
Example:
“Create a specification document for PrinterStatVer03.”
2. Then ask Windows Copilot:
“Convert this document into HTML format.”
3. Copy the HTML and paste it into Word
It will appear as plain text.
This is expected.
4. Select all text (Ctrl+A)
5. Right‑click the selected text and give instructions to Word Copilot:
“Interpret this selection as HTML and convert it into a structured Word document.”
6. Word’s internal HTML parser converts the content
<h1> → Heading 1
<h2> → Heading 2
<table> → Word table
<ul> → List
<pre> → Code block
7. Ask Word Copilot: “Create a table of contents.”
Copilot generates an AI-based TOC
based on the newly created heading structure.
■ Benefits
Fully local (no web transmission)
Copilot-generated content becomes structured Word documents
HTML structure maps cleanly to Word’s native formatting
Ideal for specifications, manuals, and technical documents
Enables a new workflow for document generation using Copilot
■ Suggestions for Improvement
Add a “Convert HTML to Word Document” button in Word Copilot
Allow Copilot to directly interpret clipboard HTML format
Provide an API for Copilot to generate Word document structure directly
I hope this discovery is useful for other users and for the Microsoft team.
Thank you for reading.