How to Copy Multiple Lines of Text on Mac
How to Copy Multiple Lines of Text on Mac
"Copy multiple lines" can mean two different things on macOS, and the right method depends on which one you actually need:
- Copy a single block of text that spans many lines (a paragraph, a code snippet, a list).
- Copy several separate pieces of text and paste them one after another.
macOS handles the first case natively. The second case is where the built-in clipboard runs out of room, because it only ever holds one item at a time.
Copying a Block of Many Lines
This is the straightforward one. To grab a multi-line selection:
- Click and drag from the start of the first line to the end of the last line, then press Cmd+C.
- Or click at the start, hold Shift, and click at the end to select everything in between.
- To select an entire document, press Cmd+A, then Cmd+C.
When you paste with Cmd+V, every line comes through, including the line breaks. If you want to paste without the source formatting, use Cmd+Shift+V in most apps for "Paste and Match Style."
Selecting non-adjacent lines
In some apps (like Xcode or BBEdit) you can hold Option and drag to make a column/block selection, or Cmd+click several spots to build a multi-cursor selection. This is editor-specific, not a system feature, so behavior varies.
The Real Problem: Copying Several Items in a Row
Here is the situation most people are actually trying to solve. You are pulling data from a spreadsheet, a PDF, and an email, and you need to drop all of it into one form. With the default macOS clipboard you have to copy one thing, switch apps, paste it, switch back, copy the next thing, and repeat. Every copy overwrites the last.
macOS does not keep a history. Once you copy something new, the previous clip is gone for good.
Keep a History So Nothing Gets Overwritten
A clipboard manager records each copy as a separate entry, so all your items stay available. ClipHistory keeps your 150 most recent unpinned clips plus an unlimited number of pinned clips, and you reach the whole list with one shortcut.
Here is the workflow for collecting several items:
- Copy the first thing with Cmd+C. Copy the second. Copy the third. Don't paste yet.
- Press Cmd+Shift+V to open ClipHistory. Your last several copies are all there, newest at the top.
- Click the item you want, or type to filter the list, and it pastes into the active app.
- Open the panel again and grab the next item.
Nothing gets overwritten, because each copy became its own history entry.
Paste Stack: paste many items in order
For the spreadsheet-to-form scenario, ClipHistory has a paste stack. You load several clips into it, then paste them in sequence with repeated keystrokes, one entry per paste. It turns "copy, switch, paste, switch, copy..." into "copy everything once, then paste down the form."
Cleaning Up Multi-Line Text Before Pasting
Multi-line copies often carry junk: trailing spaces, weird line breaks from a PDF, or inconsistent indentation. ClipHistory includes AI transforms that run on a clip before you paste it:
- Clean strips stray whitespace and fixes broken line wrapping.
- Rewrite tidies awkward phrasing.
- Summarize condenses a long multi-line block.
- Translate converts the text to another language.
These run through your own API key from Anthropic, OpenAI, DeepSeek, Google, or a custom endpoint. There is no ClipHistory account, no cloud middleman, and nothing about a free tier to manage. Your clips stay on your Mac.
A Note on Privacy
Because everything stays local, your clipboard history, including any passwords or sensitive snippets you copy, never leaves the machine. ClipHistory is signed and notarized by Apple, runs as a universal binary on Apple Silicon and Intel, and supports macOS 12 and later.
Quick Reference
| Goal | Method |
|---|---|
| Copy a multi-line block | Drag or Shift+click, then Cmd+C |
| Select whole document | Cmd+A, Cmd+C |
| Paste without formatting | Cmd+Shift+V (in-app) |
| Collect several separate items | Copy each, then Cmd+Shift+V (ClipHistory) |
| Paste many items in order | ClipHistory paste stack |
Copying one block of many lines is built into macOS. Copying many separate items without losing any of them needs a history.
Get ClipHistory for macOS ($19.99, one-time, no auto-renewal) and stop losing clips: https://cliphistory.com/download