If you use Claude Code, ChatGPT, or any AI assistant in a terminal, you've hit this: the AI spits out a URL or a command, and your terminal wraps it across multiple lines with leading whitespace. You select it, copy it, paste it into a browser or another terminal — and it doesn't work. There are line breaks in the middle, spaces that shouldn't be there, and the whole thing is broken.
This is different from the formatting-stripping problem that PlainText solves. That tool removes HTML and RTF formatting from copied text. This tool fixes the structural problem — text that got split across lines and indented by a terminal emulator.
Just want the download? The PlainText for Claude tool page has the features, install steps, and FAQ in one place.
PlainText for Claude is a Windows system-tray utility that squishes multi-line, indented text into a single clean line, ready to paste.
What It Does
PlainText for Claude monitors your clipboard. When it detects multi-line text with leading whitespace on continuation lines — the telltale sign of terminal-wrapped output — it collapses everything into a single line. Newlines are removed, leading and trailing whitespace on each line is trimmed, and the result is a single unbroken string.
It's specifically designed for the kind of output you get from AI coding assistants:
- URLs that wrap across 2–3 lines in a terminal
- Long shell commands that the terminal split at the window edge
- File paths with deep nesting that got broken mid-path
- API keys, tokens, and hashes that got split with whitespace
How to Use It
Run it. It sits in the system tray. Copy text from your terminal. If the text spans multiple lines with indentation, PlainText for Claude automatically joins it into one line. Paste normally with Ctrl+V. That's it.
You can toggle it on and off from the tray icon. When paused, your clipboard works normally.
Example
You copy this from Claude Code's terminal output:
https://github.com/VAROIndustries/
PlainTextForClaude/releases/
tag/v1.0.0
PlainText for Claude turns it into:
https://github.com/VAROIndustries/PlainTextForClaude/releases/tag/v1.0.0
One line. No spaces. Ready to paste into a browser.
Get PlainText for Claude
PlainText for Claude is free and open source. It requires Python 3.10+ on Windows 10 or 11.
Install
git clone https://github.com/VAROIndustries/PlainTextForClaude.git
cd PlainTextForClaude
pip install -r requirements.txt
Run
python plaintextforclaude.py
GitHub: VAROIndustries/PlainTextForClaude
Check out more free tools and apps at varo.industries/apps.
Frequently Asked Questions
Sources & References
- PlainText for Claude
- PlainText: Stop Pasting Formatting You Didn't Want — VARØ Industries Blog
- ClaudeTray: A Battery Meter for Your Claude Code Rate Limits — VARØ Industries Blog
- EnvForge: A Better Way to Manage Windows Environment Variables — VARØ Industries Blog
- KillSwitch: Kill Every Messaging, Video, VPN, and Social App in One Click — VARØ Industries Blog