Paste
✖
Paste
Details and Options

- The expression expr is evaluated and typeset before being pasted to the clipboard. To paste a textual form, specify a string or InputForm[expr].
- Paste[Defer[expr]] pastes the unevaluated form of expr.
- Paste["string"] pastes the contents of "string" as plain text.
- The expression expr can be any expression, including those that represent notebooks or cells.
- Paste supports typeset expressions, such as StandardForm and TraditionalForm.
- Results are pasted wherever the selection is at the instant that Paste is evaluated.
- If content is selected when Paste evaluates, it will be fully replaced by the paste action.
- If the pasted content includes a selection placeholder, then the selected content will be substituted for the placeholder.
- Selection placeholders are represented by the character or \[SelectionPlaceholder].
- The result of Paste will be at the highest fidelity when pasted between cells. When pasting into an existing cell, some style and formatting information may be lost or merged with the existing styles.
- The following options can be given:
-
AutoScroll True whether to scroll the notebook to the pasted material PlaceholderReplace True whether to replace a selection placeholder with the selected contents
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0gisky-d1o7ri
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0gisky-bt3vs
In[3]:=3

✖
https://wolfram.com/xid/0gisky-bvx6eb
In[4]:=4

✖
https://wolfram.com/xid/0gisky-kvvel7
Out[4]=4

Paste the contents of the clipboard:
In[1]:=1

✖
https://wolfram.com/xid/0gisky-mjd4i
Out[1]=1

Scope (3)Survey of the scope of standard use cases
Use Defer to paste the unevaluated expression:
In[1]:=1

✖
https://wolfram.com/xid/0gisky-hj8nw9
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0gisky-barvss
Paste an expression using TraditionalForm:
In[1]:=1

✖
https://wolfram.com/xid/0gisky-6on4r
In[2]:=2

✖
https://wolfram.com/xid/0gisky-gs97ur
Wolfram Research (2010), Paste, Wolfram Language function, https://reference.wolfram.com/language/ref/Paste.html (updated 2023).
✖
Wolfram Research (2010), Paste, Wolfram Language function, https://reference.wolfram.com/language/ref/Paste.html (updated 2023).
Text
Wolfram Research (2010), Paste, Wolfram Language function, https://reference.wolfram.com/language/ref/Paste.html (updated 2023).
✖
Wolfram Research (2010), Paste, Wolfram Language function, https://reference.wolfram.com/language/ref/Paste.html (updated 2023).
CMS
Wolfram Language. 2010. "Paste." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/Paste.html.
✖
Wolfram Language. 2010. "Paste." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/Paste.html.
APA
Wolfram Language. (2010). Paste. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Paste.html
✖
Wolfram Language. (2010). Paste. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Paste.html
BibTeX
✖
@misc{reference.wolfram_2025_paste, author="Wolfram Research", title="{Paste}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/Paste.html}", note=[Accessed: 22-May-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_paste, organization={Wolfram Research}, title={Paste}, year={2023}, url={https://reference.wolfram.com/language/ref/Paste.html}, note=[Accessed: 22-May-2025
]}