CSV Column Extractor
Select CSV columns by number, preview their values and download the extracted table.
Open toolName the variable and value columns in the long output. Provide Input source, Input text, Input file to compute results directly in your browser. The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers.
Enter the inputs, then select Process input.
Result will appear here
The CSV Unpivot Tool evaluates Input source, Input text, Input file in client-side JavaScript using the deterministic rule below and updates the output panel immediately without uploading data to a server.
Each source data row produces one output row per selected value column.
The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers.
Review the input parameters, allowed value ranges, and worked reference cases for the CSV Unpivot Tool below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: Input source | (User supplied) | Options: Paste text, Upload file | Required workspace parameter |
| Input: Input text | id,Jan,Feb 001,10,12 002,20,25 | Input type: textarea | Required workspace parameter |
| Input: Input file | (User supplied) | Select Upload file to process this file. Paste text mode uses the text field instead. | Required workspace parameter |
| Input: Input delimiter | (User supplied) | Options: Comma, Semicolon, Tab | Required workspace parameter |
| Worked Case 1: Starting inputs | Preloaded / test values | Each source data row produces one output row per selected value column | Input source = Paste text; Input text = id,Jan,Feb 001,10,12 002,20,25 ; Input delimiter = ,; Identifier columns = 1; Value columns = 2,3; Variable-column name = month; Value-column name = amount |
| Worked Case 2: Comparison scenario (Comparison input source check) | Preloaded / test values | Each source data row produces one output row per selected value column | Input source = Upload file; Input delimiter = ,; Identifier columns = 1; Value columns = 3,2; Variable-column name = month; Value-column name = amount; Upload a UTF-8 CSV file containing the example table, using the selected delimiter. |
Follow these three steps to configure Input source, Input text, Input file, verify unit and boundary rules, and export your CSV Unpivot Tool output.
Start by entering Input source in the workspace. The calculator preloads a baseline value so you can immediately inspect the expected input format.
Supply input text, input file and confirm that your values satisfy the operational rule (The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers). Out-of-range or invalid entries trigger an immediate validation message.
Run the CSV Unpivot Tool to generate the result in real time. Use the Copy or Download actions to save the output for spreadsheets, engineering notes, or code documentation.
These concrete scenarios illustrate how the CSV Unpivot Tool processes baseline inputs, comparison checks, and boundary constraints.
Input source = Paste text; Input text = id,Jan,Feb 001,10,12 002,20,25 ; Input delimiter = ,; Identifier columns = 1; Value columns = 2,3; Variable-column name = month; Value-column name = amount
Input source = Upload file; Input delimiter = ,; Identifier columns = 1; Value columns = 3,2; Variable-column name = month; Value-column name = amount; Upload a UTF-8 CSV file containing the example table, using the selected delimiter.
When solving for 'csv unpivot tool', verify that Input source, Input text, Input file use consistent units and stay within the documented scope: The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers.
The output panel reports the exact result derived from Input source, Input text, Input file alongside any unit or formatting notes.
Every calculation follows the rule: Each source data row produces one output row per selected value column. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers) before applying the value to production specifications, financial models, or lab records.
Review these boundary constraints and validation rules before relying on the CSV Unpivot Tool output.
Operational scope: The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Data Tools? Use the related tools linked below to chain your workflow without leaving your browser.
Select CSV columns by number, preview their values and download the extracted table.
Open toolReorder every CSV column with an explicit column-number sequence, then preview and export the table.
Open toolRemove duplicate CSV records by selected key columns and export both kept and duplicate records.
Open toolChoose another tool for your next calculation, conversion, or text task.

Check CSV quoting and consistent column counts, then review the record count and selected delimiter.
Open toolInspect quoted CSV cells in a readable table without uploading your data.
Open toolGroup CSV rows by selected columns and calculate count, sum and mean with valid numeric counts.
Open toolSwap rows and columns in a CSV table with an explicit header policy, then preview and export the result.
Open toolAnswers about using CSV Unpivot Tool and understanding its results.
The CSV Unpivot Tool applies the rule: Each source data row produces one output row per selected value column. Enter Input source, Input text, Input file into the workspace and the tool computes the exact output in your browser.
Yes. Provide Input source, Input text, Input file using the documented units and format shown in the quick reference table above. Preloaded default values let you test the workflow immediately.
The first record is a header. Choose comma, semicolon or tab explicitly. Quoted delimiters, doubled quotes and multiline fields are supported; unequal record widths or malformed quotes are rejected. Cell strings stay strings, including leading zeros. UTF-8 files up to 1 MiB decode to at most 100,000 UTF-16 units; at most 5,000 data rows and 100 columns. Downloads use comma, CRLF and UTF-8. Identifier and value selections must be disjoint. Input headers and output headers must be unique. At most 20,000 output records; values remain strings rather than forced numbers. Confirm that your inputs fall within the allowed ranges before exporting the result.
Yes. All calculations for the CSV Unpivot Tool execute 100% locally in your browser's JavaScript runtime. No inputs or results are uploaded to any external server.
Choose another tool for your next calculation, conversion, or text task.