JSON sign numbers
ClientDirection-only views of numeric JSON without magnitude.
Learn more: sign
Outputs −1, 0, or 1 for finite numbers.
Local processing
Parsing and output formatting run entirely in your browser—nothing is uploaded for this transform.
Input
?
Paste JSON, then read transformed output below.
Nearby workflows on Toolcore
- JSON absolute numbers — Apply Math. once JSON text parses on this page.
- JSON negate numbers — Multiply every numeric leaf by −1—recursive sign flip, local only. once JSON text parses on this page.
- JSON round numbers — Round numeric leaves to N decimal places—parameter 0–10, local only. once JSON text parses on this page.
- JSON formatter — JSON format online: pretty-print, minify, validate, escape, download . once JSON text parses on this page.
Common use cases
- Direction-only views of numeric JSON without magnitude.
Common mistakes to avoid
Invalid JSON
Fix parse errors before expecting output.
FAQ
Is data uploaded?
No—all parsing and transforms run locally.
How is this different from jq?
This page focuses on one deterministic task without a filter language.
More tools
Related utilities you can open in another tab—mostly client-side.
JSON absolute numbers
ClientApply Math.abs to every numeric leaf in JSON—recursive, browser-only.
JSON negate numbers
ClientMultiply every numeric leaf by −1—recursive sign flip, local only.
JSON round numbers
ClientRound numeric leaves to N decimal places—parameter 0–10, local only.
JSON formatter
ClientJSON format online: pretty-print, minify, validate, escape, download .json.