<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Docx on YT Por</title><link>https://www.ytpor.com/tags/docx/</link><description>Recent content in Docx on YT Por</description><generator>Hugo -- 0.164.0</generator><language>en-us</language><lastBuildDate>Fri, 10 Jul 2026 10:01:00 +0800</lastBuildDate><atom:link href="https://www.ytpor.com/tags/docx/index.xml" rel="self" type="application/rss+xml"/><item><title>Converting DOCX and PDF to Markdown with MarkItDown</title><link>https://www.ytpor.com/2026/07/convert-docx-pdf-to-markdown/</link><pubDate>Fri, 10 Jul 2026 10:01:00 +0800</pubDate><guid>https://www.ytpor.com/2026/07/convert-docx-pdf-to-markdown/</guid><description>&lt;p&gt;MarkItDown is a free Microsoft tool that converts documents such as DOCX and PDF into Markdown. It is useful for pulling existing documents into anything that works with plain text - static sites, note systems, or LLM pipelines.&lt;/p&gt;
&lt;p&gt;Install it inside a Python virtual environment to keep its dependencies isolated. Create the environment and activate it:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ~/code
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;virtualenv -p python3 markitdown
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ~/code/markitdown
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;source bin/activate
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install the package with pip. The &lt;code&gt;[all]&lt;/code&gt; extra pulls in the optional dependencies for every supported format:&lt;/p&gt;</description></item></channel></rss>