# Pasting plain text

With the plain text pasting feature, text pasted using the `Ctrl`/`Cmd` + `Shift` + `V` keystroke will match the formatting of the content you paste it into.

<a id="demo">

## Demo

Copy some text from one of the styled paragraphs below and press `Ctrl`/`Cmd` + `Shift` + `V` to paste it into another paragraph. See how the pasted text matches the paragraph’s style. Next, compare what happens when you paste the text without pressing `Shift`.

<!-- AI-AGENT-NOTE: An interactive demo is embedded here but is not represented in this Markdown file. If you need to see it in action, open this page in a browser (e.g. via a browser-automation MCP like Chrome DevTools or Playwright), or let the user know a live demo is available on this page. -->

This demo presents a limited set of features. Visit the [feature-rich editor example](../../examples/builds-custom/full-featured-editor.md) to see more in action.

<a id="additional-feature-information">

## Additional feature information

The plain text pasting feature is implemented by the `PastePlainText` plugin which is a part of the `Clipboard` plugin.

It detects the `Ctrl`/`Cmd` + `Shift` + `V` keystroke during the paste and causes the pasted text to inherit the styles of the content it was pasted into. In this sense, the feature can also be described as “pasting without formatting” – the source formatting of the pasted text gets replaced with the target formatting of the text it was pasted into.

Pasting plain text with a double line break will turn the break into a paragraph. A single line break will instead be turned into a soft break upon pasting.

<a id="installation">

## Installation

After [installing the editor](../../getting-started/installation/cloud/quick-start.md), add the feature to your plugin list and toolbar configuration:

**NPM**

```js
import { Bold, ClassicEditor, Clipboard } from 'ckeditor5';

ClassicEditor
	.create( {
		licenseKey: '<YOUR_LICENSE_KEY>', // Or 'GPL'.
		plugins: [ Clipboard, Bold, /* ... */ ]
	} )
	.then( /* ... */ )
	.catch( /* ... */ );
```

**CDN**

```js
const { Bold, ClassicEditor, Clipboard } = CKEDITOR;

ClassicEditor
	.create( {
		licenseKey: '<YOUR_LICENSE_KEY>',
		plugins: [ Clipboard, Bold, /* ... */ ]
	} )
	.then( /* ... */ )
	.catch( /* ... */ );
```

The [`PastePlainText`](../../api/module_clipboard_pasteplaintext-PastePlainText.md) plugin will activate along with the clipboard plugin.

<a id="support-for-other-applications">

## Support for other applications

You can find more information regarding compatibility with other applications in [this ticket](https://github.com/ckeditor/ckeditor5/issues/1184#issuecomment-409828069).

If you think that support for any of the applications needs improvements, please add 👍 and comments in the following issues:

* [Support pasting from Excel](https://github.com/ckeditor/ckeditor5/issues/2513).
* [Support pasting from Libre Office](https://github.com/ckeditor/ckeditor5/issues/2520).
* [Support pasting from Pages](https://github.com/ckeditor/ckeditor5/issues/2527).

Feel free to open a [new feature request](https://github.com/ckeditor/ckeditor5/issues/new/choose) for other similar applications, too!

<a id="related-features">

## Related features

CKEditor 5 supports a wider range of paste features, including:

* [Paste Markdown](paste-markdown.md) – Paste Markdown-formatted content straight into the editor.
* [Paste from Office](paste-from-office.md) – Paste content from Microsoft Word and keep the original structure and formatting.
* [Paste from Google Docs](paste-from-google-docs.md) – Paste content from Google Docs, maintaining the original formatting and structure.
* [Import from Word](../converters/import-word/import-word.md) – Convert Word files directly into HTML content.

<a id="contribute">

## Contribute

The source code of the feature is available on GitHub at <https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-clipboard>.

---

Full index of the CKEditor 5 documentation: [llms.txt](../../../llms.txt)
