.JSONL File Extension
What is a JSONL file?
A JSONL file is a JSON file created in the JSON Lines format. It contains plain text used to describe structured data. JSONL files are used primarily to stream structured data that should be processed one record at a time.
JSON Lines is a JSON variant that allows developers to store structured data entries within one line of text, allowing the data to be streamed using protocols like TCP or UNIX Pipes. According to the format's website (jsonlines.org), JSON Lines works well with UNIX-style text processing tools and shell pipelines, is a great format for log files, and is a flexible format for passing messages between cooperating processes. JSONL files are similar to .NDJSON files.
How to open a JSONL file
Because JSONL files are plain text files, you can open them in any text editor, including:
- Microsoft Notepad (Windows)
- Apple TextEdit (Mac)
- Vim (Linux)
- GitHub Atom (cross-platform)
You can also open a JSONL file in the Google Chrome and Mozilla Firefox web browsers by dragging and dropping the file into your browser window.