Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Text Tools > Other Text Tools > JSON to CSV Converter

JSON to CSV Converter

Convert any JSON (nested objects, arrays of objects, wrapped responses) into clean CSV with smart array targeting, dot/bracket flattening, schema discovery preview, custom delimiters, and one-click samples.

JSON to CSV Converter
⚡ Quick Samples
0 chars · 0 lines
Drill into wrapped responses. Use dots for keys and brackets for indices: data.users, results[0].rows. Leave empty to auto-detect.
Uncheck to output data only.

Embed JSON to CSV Converter Widget

About JSON to CSV Converter

Welcome to the JSON to CSV Converter, a free online tool that flattens any JSON payload — flat arrays, nested objects, deeply wrapped API responses — into clean, spreadsheet-ready CSV. Most online converters only handle the trivial case of [{...}, {...}] at the root and choke when your JSON looks like {"data": {"items": [...]}}. This tool does smart auto-detection of the tabular array, exposes a JSONPath-style selector for unusual shapes, and gives you two flattening modes (dot and bracket) plus a schema preview so you know exactly what columns will land in your spreadsheet before you download.

What is the JSON to CSV Converter Used For?

JSON is the lingua franca of web APIs and modern data pipelines, while CSV is still king for spreadsheets, BI dashboards, and data analysis tools. Converting from one to the other is one of the most common chores in a data engineer's day. Typical use cases include exporting an API response into Excel for stakeholders, preparing JSON dumps for import into Postgres or BigQuery, feeding JSON logs into Pandas or R for analysis, and quickly scanning a noisy nested response in a friendlier tabular form.

Key Features

How Does the Converter Handle Nested Objects and Arrays?

Real-world JSON is rarely flat. The converter's flattening engine handles the two main shapes intelligently:

Nested Objects → Dot Notation

An object inside an object becomes a dotted column name. So a record like {"id": 1, "address": {"city": "Tokyo", "zip": "100-0001"}} produces three columns: id, address.city, address.zip. This convention is used by Pandas json_normalize, Splunk, Elasticsearch, and dozens of other tools — your downstream pipelines will already understand it.

Nested Arrays → Two Strategies

Arrays of scalars (e.g. "tags": ["red", "blue"]) and arrays of objects (e.g. "orders": [{...}, {...}]) get different treatment depending on the chosen flatten mode:

Input JSON [{"id": 1, "name": "Alice", "address": {"city": "Tokyo"}, "tags": ["admin", "designer"]}] Output (dot mode) id,name,address.city,tags 1,Alice,Tokyo,admin|designer Output (bracket mode) id,name,address.city,tags[0],tags[1] 1,Alice,Tokyo,admin,designer

What is the JSONPath Selector For?

Most public APIs wrap their data in extra metadata: status codes, paging info, request IDs. A typical response looks like:

{"status":"ok","page":1,"data":[{"sku":"A001","title":"Notebook"}, ...]}

Auto-detection will usually find the inner array, but for unusual or deeply nested shapes you can supply the path explicitly. The selector supports dotted keys and bracketed numeric indices:

Does It Produce Excel-Compatible CSV?

Yes. The default settings (comma delimiter, minimal quoting, header row, LF line endings) produce strict RFC 4180 output that opens cleanly in Excel, Google Sheets, Numbers, LibreOffice Calc, Pandas read_csv, R read.csv, and every database COPY FROM command. For European Excel locales that use semicolon as the field separator, switch the Delimiter dropdown to Semicolon. For Windows-native tooling that prefers \r\n line endings, switch Line Ending to CRLF.

How are Missing Fields Handled Across Rows?

JSON arrays often contain heterogeneous records — one object has a middle_name, the next does not. The converter walks every record and collects column names in first-seen order; any record missing a column gets an empty cell in that position. This is the same behavior as Pandas json_normalize and avoids silently dropping fields that only appear in some records.

Practical Use Cases

For Developers

For Data Analysts & Scientists

For Marketers & Operators

How to Use This Tool

  1. Paste JSON: paste your JSON into the input box, or click a Quick Sample chip to load a typical API payload.
  2. Pick the array: leave the JSONPath field empty to let the tool auto-detect the tabular array, or type a path like data.users to target a wrapped array.
  3. Choose flatten mode: select Dot notation for clean column names, Bracket arrays to expand each array element, or Keep nested as JSON to preserve sub-structures verbatim.
  4. Pick delimiter and quoting: select comma, semicolon, tab (TSV), pipe, or a custom character, then choose a quoting mode and line ending.
  5. Convert and review: click Convert to CSV. Inspect the schema panel and preview table, then copy the result or download it as a .csv file.

Tips for Best Results

Frequently Asked Questions

What happens if my JSON has multiple arrays?

Auto-detection picks the largest one that contains objects. If that's not the array you want, supply a JSONPath like orders or line_items to target the right one.

Can I convert a single JSON object instead of an array?

Yes — a single object becomes a one-row CSV with each top-level field as a column. The flattening rules still apply.

What about JSON with non-finite numbers (NaN, Infinity)?

Standard JSON does not allow these literals, but if your input contains them and parses successfully, they are converted to empty cells in the CSV output to keep the file valid.

Why are some boolean values rendered as true / false?

To keep the CSV human-readable. If your downstream tool needs 1 / 0, do a search-and-replace after download or process the JSON beforehand.

Does the converter validate that all records have the same shape?

No — heterogeneous records are handled gracefully (missing fields become empty cells). The schema panel surfaces type drift via the mixed badge so you can spot inconsistencies.

How big a JSON can I convert?

The tool comfortably handles JSON inputs up to a few megabytes in the browser and on the server. For very large datasets (tens of MB or more), prefer a streaming offline tool such as jq or a Python script with ijson.

Is my data sent to a server?

The conversion is performed on the MiniWebtool server to leverage Python's robust CSV writer and JSON parser. We do not log, store, or share your input. Responses are served with no-cache headers. For maximum confidentiality with sensitive data, prefer offline processing.

Additional Resources

Reference this content, page, or tool as:

"JSON to CSV Converter" at https://MiniWebtool.com/json-to-csv-converter/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Apr 25, 2026

Related MiniWebtools:

Other Text Tools:

Top & Updated:

Random PickerRandom Name PickerFeet and Inches to Cm ConverterRemove SpacesERA CalculatorRelative Standard Deviation CalculatorSort NumbersBatting Average CalculatorLine CounterBitwise CalculatorMAC Address GeneratorRandom Quote GeneratorRoman Numerals ConverterWord to Phone Number ConverterSHA256 Hash GeneratorSum CalculatorPercent Off CalculatorPhone Number ExtractorCompound Growth CalculatorFPS ConverterLog Base 10 CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨Octal CalculatorCm to Feet and Inches ConverterText FormatterQuotient and Remainder CalculatorSlugging Percentage CalculatorMAC Address LookupOn Base Percentage CalculatorEmail ExtractorBinary to Gray Code ConverterRemove AccentURL ExtractorDecimal to BCD ConverterAdd Prefix and Suffix to TextSalary Conversion CalculatorFacebook User ID LookupBCD to Decimal ConverterOPS CalculatorNumber of Digits CalculatorWHIP CalculatorGray Code to Binary ConverterRandom Birthday GeneratorAI ParaphraserLove Compatibility CalculatorMP3 LooperAI Punctuation AdderSHA512 Hash GeneratorPercent Growth Rate CalculatorCompare Two StringsList of Prime NumbersSquare Root (√) CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorBinary to BCD ConverterVideo to Image ExtractorOutlier CalculatorIP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterFirst n Digits of PiDay of Year CalendarBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorLeap Years ListList RandomizerBreak Line by CharactersAverage CalculatorModulo CalculatorPVIFA CalculatorReverse VideoWAR CalculatorHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterNumber ExtractorAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterTime Duration CalculatorHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorRemove Leading Trailing SpacesAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorYouTube Channel StatisticsTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerSocial Media Username CheckerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterLED Resistor CalculatorVoltage Divider CalculatorParallel Resistor CalculatorCapacitor Calculator555 Timer CalculatorWire Gauge CalculatorTransformer CalculatorRC Time Constant CalculatorPower Factor CalculatorDecibel (dB) CalculatorImpedance CalculatorResonant Frequency CalculatorGrade CalculatorFinal Grade CalculatorWeighted Grade CalculatorTest Score CalculatorSignificant Figures CalculatorStudy Timer (Pomodoro)Long Division CalculatorRounding CalculatorCompleting the Square CalculatorRatio Calculatorp-Value CalculatorNormal Distribution CalculatorPercentile CalculatorFive Number Summary CalculatorCross Multiplication CalculatorLumber CalculatorRebar CalculatorPaver CalculatorInsulation CalculatorHVAC Sizing CalculatorRetaining Wall CalculatorCarpet CalculatorSquare Footage Calculator⏱️ Countdown Timer⏱️ Online Stopwatch⏱️ Hours Calculator🕐 Military Time Converter📅 Date Difference Calculator⏰ Time Card Calculator⏰ Online Alarm Clock🌐 Time Zone Converter🌬️ Wind Chill Calculator🌡️ Heat Index Calculator💧 Dew Point CalculatorFuel Cost CalculatorTire Size Calculator👙 Bra Size Calculator🌍 Carbon Footprint Calculator⬛ Aspect Ratio CalculatorOnline Notepad🖱️ Click Counter🔊 Tone Generator📊 Bar Graph Maker🥧 Pie Chart Maker📈 Line Graph Maker📷 OCR / Image to Text🔍 Plagiarism Checker🚚 Moving Cost Estimator❄️ Snow Day Calculator🎮 Game Sensitivity Converter⚔️ DPS Calculator🎰 Gacha Pity Calculator🎲 Loot Drop Probability Calculator🎮 In-Game Currency ConverterMultiplication Table GeneratorLong Multiplication CalculatorLong Addition and Subtraction CalculatorOrder of Operations Calculator (PEMDAS)Place Value Chart GeneratorNumber Pattern FinderEven or Odd Number CheckerAbsolute Value CalculatorCeiling and Floor Function CalculatorUnit Rate CalculatorSkip Counting GeneratorNumber to Fraction ConverterEstimation CalculatorCubic Equation SolverQuartic Equation SolverLogarithmic Equation SolverExponential Equation SolverTrigonometric Equation SolverLiteral Equation SolverRational Equation SolverSystem of Nonlinear Equations SolverPoint-Slope Form CalculatorStandard Form to Slope-Intercept ConverterEquation of a Line CalculatorParallel and Perpendicular Line CalculatorDescartes' Rule of Signs CalculatorRational Root Theorem CalculatorSigma Notation Calculator (Summation)Product Notation Calculator (Pi Notation)Pascal's Triangle GeneratorBinomial Theorem Expansion CalculatorParabola CalculatorHyperbola CalculatorConic Section IdentifierRegular Polygon CalculatorIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMöbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox Playground