Download a sample JSON file with Unicode text
Choose the data and the size, then download. Every file is valid UTF-8 JSON, made on your device.
- UTF-8
- 13 scripts and emoji
- 100 KB to 1 GB
- Nothing is uploaded
Download JSON full of the text that breaks encodings, from 100 KB to 1 GB. Each record holds a greeting and a city in one of 13 languages, in its own script (Japanese, Chinese, Korean, Arabic, Hebrew, Hindi, Russian, Greek, Thai, German, Vietnamese, Spanish or French), an emoji, and a string with quotes, backslashes, tabs, line breaks, a zero-width space or a combining accent. Use it to test encoding, escaping, right-to-left display and string length. The file is UTF-8 and is written in your browser. To check the escaping by hand, try JSON Escape.
What people use these files for
- Catch mojibake
Find the step in your pipeline that reads UTF-8 as another encoding and turns ζ₯ζ¬θͺ into garbage.
- Test escaping
Check that quotes, backslashes, tabs and line breaks survive a round trip through your code and database.
- Check right to left
See how your interface lays out Arabic and Hebrew next to left-to-right text.
- Count characters
Compare string lengths: π©π½βπ» is one character on screen, but 4 code points, 7 UTF-16 units and 15 bytes of UTF-8.
Need the same text in CSV? Pick CSV below the choices; older Excel versions may need the file imported as UTF-8 to show it.
How to get a sample Unicode JSON file
- Choose what the file holds: orders, customers, products, blog posts, users, log events, nested data or Unicode text.
- Choose a size from 100 KB to 1 GB, or type a custom size. The file holds whole records and stays within it.
- Click Generate and download, or Open in GigaJSON instead to look inside it.
Private, and made for big files
This tool runs in your browser, in a background worker: the file is made on your computer and never uploaded, and nothing is kept after you leave. Files up to 1 GB are written in pieces, so the page keeps responding. Already loaded features keep working if your connection drops. Loading another tool or jq for the first time needs a connection. When one tool isn't enough, GigaJSON opens your data with a tree, a table, JSONPath/JMESPath/jq queries, transforms, diff and history.
Sample Unicode JSON questions
What is in a sample Unicode JSON file?
Records with a language code, the language's own name, a greeting and a city in that script, a flag saying whether the script runs right to left, an emoji, a tricky string (quotes, backslashes, a tab or line break, a zero-width space, a combining accent or HTML-like text), and a number.
How is the text encoded?
As UTF-8 without a byte-order mark. Non-ASCII characters are written as they are, not as \u escapes. Quotes, backslashes, tabs and line breaks are escaped, as JSON requires.
Which emoji are included?
Ones that are hard to handle: a skin tone (ππ½), a joined sequence (π©π½βπ»), flags (π―π΅, π³οΈβπ), a variation selector (β€οΈ) and plain ones like π.
Is anything uploaded?
No. The file is made in your browser and saved from there. Nothing is kept after you leave.
All tools
- JSON FormatterIndent with 2 or 4 spaces, sort keys
- JSON ValidatorLine and column of the first error
- JSON MinifierRemove whitespace, see the bytes saved
- JSON RepairFixes quotes, commas, comments, AI output
- JSON Schema GeneratorA JSON Schema from examples
- JSON Schema ValidatorCheck JSON against a schema
- JSON Token CounterCount tokens, select data, compare JSON and TOON
- JSON EditorTree and code editing, undo and history
- Large JSON ViewerTree, table and search for huge files
- JSON Lines ViewerJSONL and NDJSON logs as a table
- JSON Log ViewerCount and filter JSON Lines logs
- Large CSV ViewerCSV files too big for Excel, up to 1 GB
- JSON VisualizerThe data as a graph, PNG and SVG export
- JSON DiffChanges between two documents
- JSON Path FinderClick a value, copy its path
- JSONPath TesterJSONPath, JMESPath and jq, live
- JMESPath PlaygroundJMESPath, for AWS CLI queries too
- jq PlaygroundReal jq in your browser
- JSON to CSVNested objects become dotted columns
- JSON to ExcelAn .xlsx sheet, numbers kept as numbers
- CSV to JSONDelimiters detected, 007 stays 007
- JSON to XML@keys become attributes
- XML to JSONRSS feeds, sitemaps, SOAP responses
- JSON to YAMLReadable YAML, ambiguous strings quoted
- YAML to JSONAnchors and multiple documents
- JSON Lines to JSONNDJSON or JSONL into one array
- JSON to JSON LinesA JSON array as one record per line
- JSON to TOONConvert JSON to TOON, with token counts
- JSON to MermaidA flowchart or class diagram, drawn
- JSON SplitterCut a big file into parts, or sample it
- JSON to TypeScriptInterfaces inferred from your data
- JSON to GoGo structs with json tags
- JSON to RustRust structs that derive serde's Serialize and Deserialize
- JSON to PythonPython dataclasses with type hints
- JSON to JavaJava classes with getters and setters
- JSON to C#C# classes with System.Text.Json attributes
- JSON to KotlinKotlin data classes
- JSON to SwiftSwift structs that conform to Codable, with CodingKeys
- JSON to DartDart classes with fromJson and toJson
- JSON to ZodZod schemas with TypeScript types inferred from them
- JWT DecoderHeader, payload and expiry, locally
- JSON EscapeText to a JSON string and back
- Sample JSON FilesDownload test JSON, 100 KB to 1 GB
- Sample JSON Lines FilesDownload test NDJSON, one record per line
- Sample CSV FilesDownload test CSV, 100 KB to 1 GB
- Sample XML FilesDownload test XML, 100 KB to 1 GB
- Sample GeoJSON FilesPoints, lines and polygons, up to 1 GB
- Sample Nested JSONRecords 8 levels deep, up to 1 GB
- Sample Unicode JSON13 scripts, emoji and escapes
- Sample API ResponsesJSON:API, HAL, GraphQL, pages, errors
- Large JSON File GeneratorTest data from 100 KB to 1 GB