Rectangular Text Selector

Select rectangular blocks of text by clicking and dragging. Perfect for extracting aligned columns of text or code.

About

On mobile devices:

  • Tap to place the cursor
  • Tap and hold to start selection
  • Drag to expand selection
  • Release to complete selection
History
No history yet
characters
Longest line: 0 characters

About This Tool

Jump to Top

📝 What It Does

This tool allows you to select rectangular blocks of text by clicking and dragging. It's perfect for extracting aligned columns of text or code, preserving the original formatting and alignment.

🎯 Common Uses

  • Extracting columns from aligned text
  • Selecting code blocks with specific indentation
  • Copying formatted text while maintaining alignment
  • Working with tabular data in plain text

⚙️ How It Works

The tool splits text into individual characters and tracks their positions. When you click and drag, it calculates the rectangular selection based on the start and end positions, highlighting the selected area.

💡 Tips for Use

  • Click and drag to select a rectangular area
  • Drag the corner handles to resize the selection
  • Click inside the selection to move it
  • Use the width control to adjust text wrapping
  • Toggle "Trim empty spaces and lines" to clean up the output