ToolsForcebeta

$ run --tool

Text to JSON Converter

Convert plain key-value text into JSON, with automatic detection of numbers, booleans and null.

With type detection on: true/false → boolean, null → null, numbers stay unquoted — everything else stays a string.

JSON

[
  {
    "name": "Alice",
    "age": 30,
    "active": true,
    "salary": 45000.5,
    "notes": null
  },
  {
    "name": "Bob",
    "age": 25,
    "active": false,
    "salary": 38000
  }
]

Features

  • Auto-detects numbers, booleans and null
  • Supports multiple records separated by blank lines
  • Custom separator (: , = , or anything else)
  • Optional comma-list to array splitting

How to use

  1. 1Paste key-value lines (e.g. name: Alice)
  2. 2Leave a blank line between records for multiple objects
  3. 3Copy or download the generated JSON

Frequently asked questions

What happens to "true" or "25" without type detection?+

With type detection off, every value stays a plain string, exactly as typed.

Related tools

Need a tool that isn't here yet?

ToolsForce is growing every week. Tell us what to build next.

Request a tool