Convert Nice Columns to Text
Normalize aligned plain-text tables. Parse specific columns and map custom glue symbols for line breaks. Sanitize datasets with strict RFC compliance.
Please configure parameters and execute the action.
About Convert Nice Columns to Text
Convert Nice Columns to Text reads vertically aligned plain-text columns and turns them back into horizontally flowing text blocks. You can ignore chosen columns and choose how column gaps and internal line breaks are glued together in the final output.
How It Works
Use the tool in three simple steps:
- Paste aligned columns - Add plain text where content is arranged in visible columns.
- Choose the join rules - Decide which columns to ignore and which separators should replace spaces or line breaks.
- Recover plain text - Click Convert Columns to flatten the columns into text.
Basic Examples
-
Read aligned columns back as text blocks
Input: red small apple yellow ripe banana green fresh pear Elements Separator: Lines Separator: \n Output: red\nyellow\ngreen small\nripe\nfresh apple\nbanana\npear
-
Ignore selected columns
Input: A 10 cat B 20 dog C 30 fox Ignore Columns: 2 Output: A\nB\nC cat\ndog\nfox
-
Glue lines with commas
Input: left up right down Elements Separator: | Lines Separator: , Output: left, right | up, down
Real-World Usage Scenarios
- Linearizing Multi-Column OCR Scans - Scanned newspapers or academic journals often output side-by-side text blocks. This tool flattens these into a continuous reading order, preventing sentences from different columns from being jumbled together.
- Processing Legacy Mainframe Exports - Old ERP systems and mainframes frequently generate reports in fixed-width text formats. Use this to extract data from specific columns or collapse fixed-width reports into a single-line flow for easier database ingestion.
- Cleaning Multi-Column PDF Clipboard Data - Copying text from a two-column PDF often results in broken sentences and hard line breaks. By pasting the text here, you can recover the original horizontal flow and remove unwanted line-ending artifacts.
- Stripping Metadata from Aligned Logs - System logs often include timestamp and severity columns on the left. By using the 'Ignore Columns' feature, you can strip out these prefixes to focus strictly on the message content for documentation or analysis.
Frequently Asked Questions
How does the tool distinguish between columns?
The tool analyzes vertical whitespace and character alignment. It expects text to be visually aligned using spaces or tabs, common in fixed-width text files and terminal outputs.
Can I remove specific columns like line numbers?
Yes. Use the 'Ignore Columns' field to specify which vertical sections should be omitted. For example, enter '1' to remove a leading index column.
What happens to internal line breaks within a column?
You can control this using the 'Join Lines' separator. By default, it preserves them with a newline, but you can replace them with a space to create a single continuous paragraph.
Is there a limit to the number of columns supported?
There is no hard limit. As long as the columns are consistently aligned in the input box, the processor can handle dozens of side-by-side data fields.