Simple online tools for developers, networking, text and conversions.
Text Tools
Swap Arbitrary Delimited Columns Examples
Review practical Swap Arbitrary Delimited Columns examples so you can understand expected input, output, and common patterns faster.
Why examples matter for Swap Arbitrary Delimited Columns
Use this tool to swap two selected columns in arbitrary delimited text. It is useful for pipe-separated, semicolon-separated, colon-separated, and other custom-delimited formats when column order needs to be fixed quickly.
Example pages are especially useful for text tools because they show
what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Swap Arbitrary Delimited Columns examples
Swap columns by header name
Input
|
name
role
name|email|role
John|john@example.com|admin
Jane|jane@example.com|user
Useful when a custom-delimited export has the wrong column order.
Swap columns by number
Input
;
1
3
id;title;status
1;Book;ok
2;Pen;ok
Output
status;title;id
ok;Book;1
ok;Pen;2
Supports 1-based column positions.
How to use these examples
Put the delimiter on line one
Put the first column selector on line two
Put the second column selector on line three
Leave a blank line
Paste the delimited text below and run the tool
Compare your own input with the Swap Arbitrary Delimited Columns examples below before running the tool.
Keep the input format as close as possible to the example pattern when you test a new case.
If your output looks wrong, check spacing, separators, symbols, or the exact value type first.
Common mistakes in sample input
Using a column that does not exist
Fix: Check the header row or use a valid 1-based column number.
Using more than one character as the delimiter
Fix: Use a single-character delimiter such as ; | : or ,.
Selecting the same column twice
Fix: Use two different selectors.
Next steps
After reviewing these examples, run the live tool with your own input.
If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.