ArabicFix

THE TEXT STUDIO

Extract & reorder CSV columns

Handle quoted fields and embedded newlines, select columns and export safely.

Processed in your browser

Quoted fields, escaped double quotes and embedded newlines are supported. Limits: 100,000 units, 10,000 records, 1,000 columns; select at most 50 columns. Missing columns or malformed quotes stop export. Row order is retained. Protection prefixes potential formula cells with an apostrophe; turn it off only for literal data.

Save & restore workspace

Explicit download/import of text and settings; no autosave or sync. The file contains your text; store it appropriately. History and voices are not saved. Up to one million text units and a 4 MB file.

From your screen to a finished page

Export the current result as a carefully paginated PDF, or keep selectable text with an embedded font.

Up to 20,000 units. The visual PDF uses approximately 150 dpi browser-shaped pages; its text is not searchable or selectable. HTML and TXT retain copyable text. Cleaner proof font and layout settings carry into export. When printing HTML, browser headers and footers are controlled by your browser.

How to extract columns from a CSV file with Arabic names

You have exported a customer or student list from a spreadsheet or an admin system, and you only need two of its columns, say the name and the phone number. This tool reads CSV text, or any text whose columns are separated by semicolons, tabs or pipes, and outputs the columns you pick in the order you want.

The tricky part with CSV is that a comma can sit inside a cell, for example an address with a comma between the district and the street. Tools that split every line at each comma break that cell in two and shift every column after it. This tool follows the usual CSV quoting rules, so a quoted cell stays whole even when it contains a comma, a quote mark or a line break.

How to use it

  1. Open the CSV file in a text editor and copy its contents, or copy the cells straight from your spreadsheet, then paste into CSV / delimited input.
  2. Under Delimiter, pick the character that separates your columns: Comma ,, Semicolon ;, Tab or Pipe |. Cells copied from a spreadsheet usually paste as tab-separated text.
  3. In Column numbers, type the columns you want, separated by commas. The first column is 1, and the order you type is the order you get, so 3,1 puts the third column first.
  4. Tick First record is a header (for row count) if your first line holds column names. It only changes the count shown; the header line stays in the output.
  5. Leave Protect formula-like cells on if the file will be opened in a spreadsheet app.
  6. Check Delimited column output and the record count below it, then click Copy or Download CSV.

Worked examples from the tool

Example from the tool · CSV columnsA quoted address stays one cell despite the comma inside it
Original
الاسم,المدينة,العنوان,الهاتف
سارة العتيبي,الرياض,"حي النرجس, شارع 12",0501234567
خالد السالم,جدة,"حي الروضة, مبنى 4",0559876543
"نورة ""أم فهد"" القحطاني",الدمام,حي الشاطئ,0533334444
Result
"الاسم","العنوان"
"سارة العتيبي","حي النرجس, شارع 12"
"خالد السالم","حي الروضة, مبنى 4"
"نورة ""أم فهد"" القحطاني","حي الشاطئ"

Settings: Delimiter: Comma · Column numbers: 1,3 · First record is a header

Example from the tool · CSV columnsFormula protection adds an apostrophe before =1+1 and before the negative number
Original
الاسم,المبلغ,ملاحظة
سارة,125,دفعة أولى
خالد,-40,استرداد
نورة,=1+1,إدخال خاطئ
Result
"الاسم","المبلغ"
"سارة","125"
"خالد","'-40"
"نورة","'=1+1"

Settings: Delimiter: Comma · Column numbers: 1,2 · Protect formula-like cells on

Example from the tool · CSV columnsCells pasted from a spreadsheet, with the two columns swapped
Original
الاسم	الصف	الدرجة
سارة	الخامس	95
خالد	السادس	88
مريم	الخامس	91
Result
"الدرجة"	"الاسم"
"95"	"سارة"
"88"	"خالد"
"91"	"مريم"

Settings: Delimiter: Tab · Column numbers: 3,1

What the output looks like

Every cell in the output is wrapped in double quotes, and any quote mark inside the text is doubled. A cell holding نورة "أم فهد" القحطاني therefore becomes "نورة ""أم فهد"" القحطاني", which is how RFC 4180, the common CSV specification, writes quotes inside a field. Rows keep their original order, the delimiter you chose is reused, and lines end with CRLF.

Arabic names come out exactly as they went in; no letters are changed. If the name column needs stray spaces or tatweel removed, run it through the Cleaner after extraction. The Arabic cleanup guide explains which options to pick.

Formula protection: when to keep it on

Spreadsheet apps treat a cell that starts with =, +, - or @ as a formula. If the data came from a form that the public fills in, someone may have typed a formula into a name or notes field, and it would be evaluated when the file is opened. Protection therefore puts an apostrophe ' in front of those cells, so they no longer start with a formula sign.

There is a trade-off. Negative numbers such as -40 and international phone numbers such as +96550000000 start with the same signs, so they get the apostrophe too. Turn protection off only when you need the values literally and you trust the source, or the file is going into a system that does not evaluate formulas.

Error messages and what causes them

  • Malformed or unclosed CSV quote. A quote was opened and never closed, or it appears in the middle of an unquoted cell. Fix that line in the source and paste again.
  • A requested column is missing in a record. At least one line has fewer columns than the number you asked for. A blank line in the middle of the data or the wrong delimiter is the usual cause.
  • Everything lands in one column: your file uses a different delimiter from the one selected. Try semicolon or tab.
  • Garbled Arabic: if the names already looked like strange symbols before you pasted them, the file was saved in another encoding. Export it again as UTF-8; the tool cannot repair broken encoding.

Limits

  • Up to 100,000 text units, 10,000 records and 1,000 columns of input, and at most 50 selected columns.
  • The tool works on pasted text only. It does not open Excel files and does not read formulas or formatting.
  • It does not filter or sort rows. Every row comes out in its original order, header included.
  • Protection cannot tell a negative number or a phone number from a formula, so anything starting with =, +, - or @ gets the apostrophe.

Frequently asked questions

How do I extract just the name column from a CSV file?

Type that column's number alone in Column numbers, for example 2 if names are in the second column, then copy or download the result.

How do I reorder columns?

Type the numbers in the new order, such as 3,1,2. You can also repeat a number to output the same column twice.

Why do some values start with an apostrophe?

Protect formula-like cells is on and those values start with =, +, - or @. Turn it off if they are negative amounts or phone numbers that you need exactly as they are.

Does it handle semicolon-separated files?

Yes. Choose Semicolon ; under Delimiter. The output uses the same delimiter, and decimal commas inside numbers are left alone.

Is my file uploaded anywhere?

No. You paste the text into the page, and parsing and extraction happen in your browser.

Reading comfort
About ArabicFix

ArabicFix is a workspace for Arabic text: clean, write, convert and compare. Choose a tool, paste your text, then review the result before copying or downloading. Transformations are explicit and optional. Your exported text contains no branding or watermark.

Processing happens in your browser. Text and files are not uploaded, and drafts are not automatically saved. Download a workspace file to restore your work later; earlier workspace files remain compatible. These tools do not claim contextual proofreading or automatic tashkeel. Speech requires a browser-provided local Arabic voice.