---
title: removeDoctype
svgo:
  pluginId: removeDoctype
  defaultPlugin: true
---

Removes the [Document Type Definition](https://en.wikipedia.org/wiki/Document_type_definition), also known as the DOCTYPE, from the document.
