Per platform
| iPhone and iPad | High fidelity | |
|---|---|---|
| Android | High fidelity |
How it works
- Import the CSV file, or share it with Tramuta.
- Pick JSON among the formats.
- Tap “Convert”, then “Share” or “Save to…”.
CSV is what spreadsheets and back-office tools export; JSON is what scripts, web services and many apps expect. Tramuta converts CSV to JSON on the phone or tablet itself, so a list of customers, orders or contacts never goes to a conversion website.
How the CSV ends up in JSON
You get a list of objects, one per CSV row. The keys are the column names from the first row, in the same order. With the app’s own test file, the first data row becomes:
[
{
"id": 1,
"nome": "Caffè, macinato",
"prezzo": 4.5,
"data": "2024-01-15"
}
]
The conversion is “High fidelity” on iPhone, iPad and Android: every cell reaches the JSON. Only the value types change, following fixed rules. Integers and decimals written with a dot become numbers, true and false (lowercase) become booleans, and an empty cell becomes null. Everything else stays text, dates included: 2024-01-15 remains a string, because JSON has no date type. The output is UTF-8 without a BOM, indented with two spaces, with a final newline.
CSV to JSON on iPhone, iPad and Android
The data engine is written in Dart and runs the same way on both platforms: same file in, same JSON out. The input encoding is detected from the bytes (BOM first, then UTF-8, otherwise Windows-1252), so a CSV saved by an older Windows program still shows its accented letters correctly.
Options for CSV to JSON
- “Column separator”: “Automatic”, “Comma (,)”, “Semicolon (;)”, “Tab”, “Pipe (|)”.
- “The first row holds the column names”: turn it off and the keys are named
colonna1,colonna2and so on, while the first row becomes an object like the others. - “Recognize numbers and true/false values”: it recognizes numbers written with a dot and only lowercase
trueandfalse(“TRUE” or “yes” stay text); when off, every value stays text exactly as it is in the CSV.
How to do it in Tramuta
- Open Tramuta and tap “Choose or drop files”, or send the CSV to Tramuta with “Share” or “Open in…” from another app.
- Under “Convert to”, pick “JSON”.
- If needed, open “Options” and check the separator and the header row.
- Tap “Convert”.
- From the result, use “Share”, “Save to…” or “Open in…”.
If you need the CSV as a spreadsheet instead, see CSV to Excel XLSX; for the opposite direction, JSON to CSV. XML files can be turned into JSON too: XML to JSON.
Questions
My CSV uses semicolons. Do I have to tell Tramuta?
No. With “Automatic” the separator is taken from the first row: the most frequent of comma, semicolon, tab and pipe wins, counting only outside quotes. If the first row is ambiguous, pick it yourself in “Column separator”.
Why does 4,50 stay a string while 4.50 becomes 4.5?
Number recognition only accepts a dot as the decimal separator. “4.50” becomes the number 4.5 (trailing zeros don’t exist in a JSON number), while “4,50” stays text. Codes with leading zeros such as “007” also stay strings, so they keep their zeros.
What happens to empty cells?
With “Recognize numbers and true/false values” on, an empty cell becomes null in the JSON; with it off, it stays an empty string. Completely empty rows in the CSV are skipped.
Will a cell with a line break or quotes break the output?
No. The CSV is read with its quoting rules, so a cell spanning two lines or containing doubled quotes becomes a single JSON string with the line break and the quotes in place.
Free on iPhone, iPad and Android
No ads, no in-app purchases, no account.
-
App Store
iPhone and iPad, iOS 15.0 or later.
Coming to the App Store -
Google Play
Android 7.0 or later.
Coming to Google Play -
APK for Android
Android 7.0 or later, without Google Play.
The APK is not available yet.