HTMLファイルとして保存する
- 選ぶ
- 保存する
変換したHTMLを、コピーして貼り付けるのではなく、ファイルとして残しておきたいことがあります。WordをHTMLに変換する では、「HTMLで保存」を押すと、HTMLファイルとして保存できます。
手順
- 「Wordファイルを選ぶ」で、.docx を選びます。
- 「HTML」の欄で、内容を確かめます。
- 「HTMLで保存」を押して、保存します。
コピーと保存の使い分け
- コピー:ブログの編集画面などに、すぐ貼り付けたいとき。
- 保存:あとで使う。バックアップにしたい。他の人に渡したい。
保存したHTMLファイルの使い方
- ブラウザで開いて、見た目を確かめる
- メモ帳などのテキストエディタで開いて、手直しする
- サイトのサーバーに、アップロードする
- 他の人に、メールで渡す
注意
保存したHTMLファイルには、見出しや本文のタグだけが入っています。デザイン(色や余白)は、含まれません。そのため、ブラウザで開くと、シンプルな見た目になります。
デザインをつけたいとき
- サイトのデザインに合わせて、貼り付ける
- HTMLファイルに、スタイルを書き足す
保存名のつけ方
Wordのファイル名に近い名前にすると、あとで探しやすくなります。日付を付けておくのも、便利です。
向いている場面
- 記事の下書きを、HTMLで保管したい
- 納品物として、HTMLを渡す
- 元のWordと一緒に、バックアップしたい
例
お客様に渡すお知らせ文を、HTMLファイルにして保存した。ブラウザで開いて確認してから、メールに添付した。
つまずきやすい点
- 文字化けする:開くアプリの文字コードが違う場合がある。ブラウザで開くと直りやすい。
- 画像が表示されない:画像は含まれない。
よくある質問
保存したファイルは、すぐ公開できますか?
そのままでも開けますが、デザインはありません。公開するときは、サイトの形式に合わせます。
まとめ
貼り付けるなら「コピー」、残すなら「保存」。目的で使い分けましょう。
WordをHTMLに変換するを使う(無料)あわせて使えるツール
- Wordから文字を取り出す:Wordファイルの本文を、文字だけで取り出します。
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
同じツールの、ほかの解説
Saving as an HTML File
- Choose
- Save
Sometimes you want to keep the converted HTML as a file instead of copying and pasting. In Convert Word to HTML, pressing "Save as HTML" saves it as an HTML file.
Steps
- Choose a .docx with "Choose a Word file".
- Check the content in the "HTML" field.
- Press "Save as HTML" to save.
Choosing between copy and save
- Copy: when you want to paste straight into a blog editor and so on.
- Save: for later use, backup, or handing it to others.
Using the saved HTML file
- Open in a browser and check the look
- Open in a text editor such as Notepad and tweak it
- Upload to the site's server
- Hand to others by email
Caution
The saved HTML file contains only the tags for headings and body. Design (colours, margins) is not included. So opened in a browser it looks plain.
When you want to add design
- Paste it in to match the site's design
- Add styles to the HTML file
Naming the saved file
A name close to the Word file's name makes it easy to find later. Adding a date is handy too.
Good for
- Keeping article drafts as HTML
- Delivering HTML as a deliverable
- Backing up together with the original Word
Example
Saved a notice to hand to a customer as an HTML file. Opened it in a browser to check and then attached it to an email.
Common stumbling blocks
- Text is garbled: the opening app's character encoding may differ. Opening in a browser usually fixes it.
- Images don't show: images aren't included.
Frequently asked questions
Can the saved file be published as it is?
It opens as it is, but has no design. Adapt it to the site's format when publishing.
Summary
"Copy" to paste, "Save" to keep. Choose by purpose.
Use "Convert Word to HTML" (free)Tools that go well with this
- Extract Text from a Word File: Extract the plain text from a Word file.
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.