# clipboard/utils/plaintexttohtml

module

<a id="functions">

## Functions

<a id="function-plainTextToHtml">

### `plainTextToHtml( text ) → string`

Converts plain text to its HTML-ized version.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-clipboard/src/utils/plaintexttohtml.ts#L16)

#### Parameters

* `text: string`

  The plain text to convert.

#### Returns

* `string`

  HTML generated from the plain text.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
