---
category: examples-builds
meta-title: Document editor example | CKEditor 5 Documentation
meta-description: Explore the document editor preset for rich text editing with features similar to native word processors.
order: 50
toc: false
contributeUrl: false
classes: 'main__content-wide main__content--no-toc'
---

# Document editor

The editor in this example is a feature–rich preset focused on rich text editing experience similar to the native word processors. It works best for creating documents which are usually later printed or exported to PDF files.

See the {@link framework/document-editor tutorial} to learn how to create this kind of an editor (and similar) with a custom UI layout on top of {@link module:editor-decoupled/decouplededitor~DecoupledEditor}.

<info-box hint>
	Check out the [source code](https://github.com/ckeditor/ckeditor5-demos/tree/master/user-interface-document) of this editor preset or build your custom editor setup with our [interactive Builder](https://ckeditor.com/ckeditor-5/builder/?redirect=docs).
</info-box>

{@snippet examples/document-editor wide}
