Processed in your browser

JSON / Properties Converter

Flattens nested objects into dot-separated property keys and handles backslashes, newlines, tabs, and separator escaping. Import rebuilds object paths while preserving string values.

Processed in your browser
0 / 1,000,000
Converted output

Tool guide

What is JSON / Properties Converter?

JSON and Properties Converter supports Java-style resource and configuration key lists. Nested objects flatten into dotted paths, common backslash and control-character escapes are handled, and import rebuilds object structure while preserving values as strings rather than applying unreliable type inference. Common workflows include the following. Export nested JSON configuration as a property-key list. Turn Java Properties text into searchable JSON. Inspect conflicting paths, duplicates, and special-character escaping. The page also documents input boundaries, output behavior, and practical cautions so you can review the result before putting it into an application, configuration, test, or production workflow.

When to use it

  • Export nested JSON configuration as a property-key list.
  • Turn Java Properties text into searchable JSON.
  • Inspect conflicting paths, duplicates, and special-character escaping.

How to use it

  1. Paste a JSON object or property text.
  2. Decide whether dots should represent nested paths.
  3. Convert and resolve conflicting keys.
  4. Review array text and string typing before copying.
  5. Load one of the realistic examples first to verify the selected options and processing direction before replacing it with your own data.
  6. Review the output, status message, and documented limits; copy, download, or continue only after the result matches your expectation.

Runnable examples

The “Example 1” and “Example 2” buttons load the matching inputs. They cover different structures, directions, or boundaries and can be run directly in the workspace.

Example 1

{"app":{"name":"JSONLane","locale":"en"},"build":{"branch":"develop","tools":40},"ports":[80,443]}

Example 2

app.name=JSONLane
app.locale=en
build.branch=develop
build.tools=40
message=Line one\nLine two

Input rules

  • The JSON root value must be an object.
  • Property entries require an explicit equals or colon separator.
  • Conflicting dot paths, duplicates, and dangerous keys are rejected.
  • Text input is counted before processing and is limited to 1,000,000 characters on this page; file modes apply the separate file limit shown in the workspace.
  • Dots in keys are interpreted as nested paths.

Output rules

  • Nested objects flatten into dotted paths.
  • Arrays are written as JSON text values.
  • Imported values remain strings rather than inferred numbers or booleans.
  • Output reflects only the current input, direction, and options; rerun after changing a mode or value instead of treating an earlier result as current.
  • Arrays export as JSON text and types are not inferred on import.

Limitations and cautions

  • Dots in keys are interpreted as nested paths.
  • Arrays export as JSON text and types are not inferred on import.
  • Continuation lines and every legacy Java encoding detail are not supported.

How your data is handled

All parsing, conversion, binary encoding, and intermediate data remain in the current browser tab. JSONLane does not upload the input or retain it after refresh or close.

FAQ

Is Properties content uploaded?

No. Parsing, conversion, and output generation remain in the current browser tab.

Is every round trip lossless?

No. Formats differ in types, comments, ordering, and binary capabilities; the page documents the important losses.

Why are some inputs rejected?

Unsafe integers, dangerous keys, excessive depth, and values with no clear target representation are rejected instead of silently rewritten.

How are dots in keys handled?

Dots are interpreted as object paths during import, so a literal key containing a dot cannot round-trip losslessly in this version.

Are Unicode escapes supported?

Import accepts common \uXXXX escapes, while export leaves readable Unicode characters unchanged.

Why do arrays become JSON text?

Properties has no array type. Embedded JSON text is less ambiguous than splitting values on commas.

Updated: 2026-08-09