IntellureIntellure
  • Pricing
  • How it works
  • Tools
  • Blogs
  • FAQ
  • Contact
Get started
PricingHow it worksToolsBlogsFAQContactGet started
IntellureIntellure

Digital tools and insights, built for the modern web. Free, fast, and private.

Products

AI EmployeeFree ToolsBlog

Company

AboutContactPrivacy PolicyTerms of Service
© 2026 Intellure. All rights reserved.Made with care for the internet.
Home/Text Tools/Terminal Text Cleaner
🖥️

Terminal Text Cleaner

Remove ANSI codes, box-drawing chars, and markdown from terminal output. Clean up messy copy-paste text instantly.

Cleaning Options

About Terminal Text Cleaner

Free online tool to clean up messy text copied from terminal emulators (Terminal.app, iTerm2, VS Code, Windows Terminal). Removes ANSI escape codes (color markers), box-drawing characters (─ │ ┌ etc.), zero-width characters, and markdown formatting. Perfect for Claude Code output, CLI tool results, and terminal markdown rendering artifacts. Toggle options to remove only what you need: ANSI codes, box chars, markdown, whitespace, line wrapping issues, and leading indentation. See real-time cleaning with character count and reduction percentage. Copy cleaned text with one click. Works 100% in your browser - no uploads, no signup, completely free.

Frequently Asked Questions

What are ANSI escape codes and why are they in my text?
ANSI escape codes are special character sequences that terminals use to add colors and styling to text. When you copy text from a terminal, these invisible codes (like \x1b[31m for red) often come along. They appear as gibberish or invisible characters when pasted elsewhere. This tool automatically strips them out, leaving just the readable text.
Why do I have box-drawing characters in my copied text?
Many CLI tools (like Claude Code, Docker output, and tree commands) use special box-drawing characters (─, │, ┌, ┐, etc.) to create nice formatting in the terminal. When you copy this text, these characters come along. The tool lets you remove them with one toggle, leaving clean, plain text.
Can I remove only specific things, not everything?
Yes! Each cleaning option is a toggle. You can independently enable/disable: Remove ANSI codes, Remove box-drawing characters, Collapse whitespace, Fix line wrapping, and Remove markdown formatting. Mix and match to clean exactly what you need while preserving everything else.
What happens if I enable all cleaning options?
With all options enabled, the tool performs the most aggressive cleaning: removes all ANSI/color codes, box chars, markdown formatting (bold, italic, headings, code blocks), collapses spaces, fixes line wrapping artifacts, and removes leading indentation. The result is plain, clean, readable text suitable for copying into any document or system.
Does the tool work with all terminals?
Yes! The tool cleans text copied from Terminal.app (macOS), iTerm2, VS Code terminal, Windows Terminal, GNOME Terminal, and any other terminal emulator. It's particularly useful for CLI tools that render markdown or use fancy formatting, like Claude Code.
Is this tool free?
Yes, completely free with no signup required. Clean unlimited text, toggle all options, and copy results instantly. All processing happens in your browser — your text never leaves your device.

Related Tools

📝

Word Counter

Count words, characters, sentences, and paragraphs in your text instantly.

🔤

Character Counter

Count characters with and without spaces. Perfect for Twitter, SMS, and meta descriptions.

🔠

Case Converter

Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.

📄

Lorem Ipsum Generator

Generate placeholder text for your designs and layouts.

🔗

Text to Slug Converter

Convert any text into URL-friendly slugs for your website.

✨

Fancy Text Generator

Convert plain text into stylish Unicode fonts for social media bios.

Browse all 139+ free tools
CLEAR THE CLUTTER

Cleaned up your output. Let something clean up your whole inbox too.

Intellure answers customers, follows up on leads, and handles daily admin 24/7 so nothing piles up. A full AI employee for a flat $299 a month.

Learn More