<p>A fasta file is just in plain text format. <a href="https://pandoc.org/index.html" rel="nofollow noreferrer">Pandoc</a> can convert <code>.docx</code> format to plain text format:</p>
<pre><code>pandoc -i input.docx -t plain &gt;output.fasta
</code></pre>

CC BY-SA 4.0
2022-06-27T13:33:30.960Z
2022-06-27T13:33:30.960Z
Forrest Vigor
<p>The <a href="https://github.com/Edinburgh-Genome-Foundry/crazydoc" rel="nofollow noreferrer">CrazyDoc</a> Python package can convert Genbank/Fasta/Snapgene/MSDoc sequences into Biopython records, which can be saved as Genbank or Fasta.</p>
<p>A web interface / demo is provided at EGF CUBA (Collection
of Useful Biological Apps): <a href="https://cuba.genomefoundry.org/convert_sequence_files" rel="nofollow noreferrer">Convert Sequence Files</a>.</p>
<p><em>Disclaimer: I'm the current maintainer of CrazyDoc.</em></p>

CC BY-SA 4.0
2020-11-23T16:41:21.660Z
2020-11-23T16:41:21.660Z
Peter
<p>How can I convert a sequence provided in a Microsoft doc file into a fasta or genbank format?</p>

<fasta><format-conversion><genbank><egf>
Convert sequence in MS doc to fasta or genbank
# Convert sequence in MS doc to fasta or genbank

(Asked by: username_0 on 2020-11-23)

How can I convert a sequence provided in a Microsoft doc file into a fasta or genbank format?

**Tags:** fasta, format-conversion, genbank, egf

---

## 2 answers

### Answer by username_0 on 2020-11-23. Score: 2 | Accepted answer

The [CrazyDoc](https://github.com/Edinburgh-Genome-Foundry/crazydoc) Python package can convert Genbank/Fasta/Snapgene/MSDoc sequences into Biopython records, which can be saved as Genbank or Fasta.

A web interface / demo is provided at EGF CUBA (Collection
of Useful Biological Apps): [Convert Sequence Files](https://cuba.genomefoundry.org/convert_sequence_files).

*Disclaimer: I'm the current maintainer of CrazyDoc.*


---

### Answer by username_1 on 2022-06-27. Score: 0

A fasta file is just in plain text format. Pandoc can convert .docx format to plain text format:
pandoc -i input.docx -t plain >output.fasta


---

