Blog

Guides, tutorials and best practices to get more from your tools.

Guides

Cover of the guide "CSV to JSON Drops Leading Zeros: Keep Zip Codes as Text"Data Cleaning & File Converters

CSV to JSON Drops Leading Zeros: Keep Zip Codes as Text

Why 02134 becomes 2134 in some tools, which values the converter keeps as text, why a zip column can end up mixed, and how to handle empty cells.

4 min read

Cover of the guide "CSV vs JSON: Which Format to Use for Your Data"Data Cleaning & File Converters

CSV vs JSON: Which Format to Use for Your Data

CSV vs JSON compared: what each format can hold, types, nested data, size and NDJSON, and how to decide which one fits your data.

4 min read

Cover of the guide "Clean a CSV Before Importing It: Checklist"Data Cleaning & File Converters

Clean a CSV Before Importing It: Checklist

A checklist for cleaning a CSV before an import: encoding, invisible characters, blank values such as N/A, dates and headers, duplicates, and phone, email and name rules.

4 min read

Cover of the guide "Convert CSV to YAML for Config or Inventory Files"Data Cleaning & File Converters

Convert CSV to YAML for Config or Inventory Files

How to turn a CSV inventory into YAML: the top-level key, tags[] lists, dotted headers for nested keys, and why yes, on and 007 are written in quotes.

4 min read

Cover of the guide "YAML vs TOML vs XML for Config and Data Files"Data Cleaning & File Converters

YAML vs TOML vs XML for Config and Data Files

YAML, TOML and XML compared on the same rows: nulls and types, nesting and lists, XML name rules, and what is lost when a config file is converted back to CSV.

4 min read

Cover of the guide "Make a LaTeX Table From Excel With booktabs"Data Cleaning & File Converters

Make a LaTeX Table From Excel With booktabs

How to turn an Excel table into LaTeX: the tabular code, escaped characters such as & % _ and #, booktabs or plain hline rules, and line breaks in cells.

4 min read

Cover of the guide "Fix Invalid JSON: Unexpected Token and Missing Comma"Data Cleaning & File Converters

Fix Invalid JSON: Unexpected Token and Missing Comma

How to fix an Unexpected token error in JSON: read the line and column, find missing commas, single quotes, trailing commas and comments, then format the valid result.

4 min read

Cover of the guide "Remove Duplicate Rows From a CSV File"Data Cleaning & File Converters

Remove Duplicate Rows From a CSV File

How to remove duplicate rows from a CSV file: why cleaning comes first, the case option, the report and change log, and stacking two files without repeated rows.

4 min read

Cover of the guide "Paste an Excel Table Into GitHub as Markdown"Data Cleaning & File Converters

Paste an Excel Table Into GitHub as Markdown

How to paste an Excel or Google Sheets range into a GitHub README as a Markdown table: header, alignment, pipes, line breaks and converting only part of a sheet.

4 min read

Cover of the guide "Standardize Dates in a CSV: Day-First or Month-First"Data Cleaning & File Converters

Standardize Dates in a CSV: Day-First or Month-First

How to standardize dates in a CSV to ISO form: the formats that are recognised, why day-first or month-first is asked once per column, and how invalid dates are counted.

4 min read

Cover of the guide "Validate and Clean Email Addresses in a CSV"Data Cleaning & File Converters

Validate and Clean Email Addresses in a CSV

How to clean and validate email addresses in a CSV: trimming, mailto: and name wrappers, lower-casing, the syntax check, and the list of invalid addresses with line numbers.

3 min read

Cover of the guide "Standardize Phone Numbers to E.164 in a CSV"Data Cleaning & File Converters

Standardize Phone Numbers to E.164 in a CSV

How to convert phone numbers in a CSV to E.164: the default country, a country column for mixed numbers, extensions in their own column and a list of invalid numbers.

4 min read