Neatbo.

Developer tools guide: formatting, comparison and JSON patches

Format code, compare JSON structures and apply Merge Patch or JSON Patch. Inspect regex, XML, headers and logs while separating syntax from business rules.

Choose an operation for your task

Format code, compare JSON structures and apply Merge Patch or JSON Patch. Inspect regex, XML, headers and logs while separating syntax from business rules.

Which operation fits?
Your taskWhere to start
Make code easier to readFormat code without assuming runtime correctness
Find changed JSON valuesUse structural comparison to obtain JSON Pointer paths
Update a configurationChoose Merge Patch or ordered JSON Patch and verify the result

Work in order and retain the original

Keep the original payload, inspect its numeric precision and duplicate keys, and apply updates to a copy. Use a test operation when a JSON Patch depends on an expected prior value. In Merge Patch, null deletes an object member and arrays replace the old array entirely; do not use it when you intend to store a new null field.

Representative workflow and expected result
Target {"note":"old","roles":["read"]}; merge patch {"note":null,"roles":["write"]} removes note and replaces roles.

Separate processing success from acceptance

Inspect the complete output, not only a success state. Generated SQL, fetch calls and configuration remain text and are not executed; syntax formatting is not application validation.

Before you finish

Expand a tool below for its steps, options and limits. Choose the tools needed for your task; you do not need to use every one.

  • Inspect the complete output, not only a success state. Generated SQL, fetch calls and configuration remain text and are not executed; syntax formatting is not application validation.
  • Reopen the download and compare it with the example and the meaning of the input.
  • When an input exceeds the stated boundaries, retain it and split the task or use a suitable processor; renaming an extension does not make it compatible.

Migrate configuration without changing its meaning

Use the INI converter for single-line assignments and named sections, and the Java Properties converter for localized messages with Unicode escapes or line continuations. They are different syntaxes: an INI backslash stays literal, while a Java Properties backslash introduces an escape. Keep a copy of the source and check the receiving application.

INI JSON separates global keys from section maps so a root key cannot overwrite a same-named section. Java Properties JSON is a flat string map. Reverse conversion rejects non-string values; a value that cannot fit the supported INI syntax must be resolved before export. Comments and original spacing are not transferred.

Review explicit local declarations before migration

Prepare a JSON structural sample with explicit replacement scope, then inspect retained keys and values; the redactor does not automatically find secrets. Apply one-file unified patches only to the exact source version, and open CRLF originals as files with an explicit payload setting.

Frontmatter extraction keeps the body bytes after its boundary and supplies a hash. EditorConfig inspection evaluates one config and declared properties with override/unset traces; parent-file search and editor defaults are separate. npm lock inventory reports v2/v3 declarations, aliases, links and workspaces, not disk installation or deduplication feasibility.

References

Tools in this category

Expand a tool to see its steps, options and supported formats, then open its workspace.

JSON formatter and string toolsFormat or minify JSON, sort object keys, or convert between plain text and a JSON string.

Make JSON easier to read, compact it, or sort object keys. You can also encode literal text as a JSON string or decode a JSON string back to text. Formatting and sorting preserve number tokens, including 9007199254740993, -0 and 1e400.

Steps

  1. Choose a task. For formatting or key sorting, choose formatted or compact output. Formatted output can use two spaces, four spaces or tabs.
  2. Paste your input or select a local UTF-8 file. The file takes priority; remove it to use the pasted text again.
  3. Run the task, check the preview, then copy or download the complete result. Use the escaped preview to inspect tabs, line breaks and other invisible characters.

Available options

Task
Format or minify · Sort keys · Encode text as JSON string · Decode JSON string

Format or minify JSON, sort object keys, encode literal text as a JSON string, or decode a JSON string to text.

Output layout
Formatted · Compact (minified)

Choose formatted or compact JSON for formatting and key sorting. This setting is disabled for string encoding and decoding.

Indentation
2 spaces · 4 spaces · Tab

Available for formatted JSON only; disabled for compact output and string tasks.

Capabilities and limits

  • Paste up to 1 MiB, or select one UTF-8 file up to 10 MiB. A selected file takes priority without clearing your pasted text. The paste limit applies again when you remove the file. File names must fit within 512 UTF-8 bytes.
  • Parsed JSON is limited to 200,000 values, including the root, and a nesting depth of 128 (root depth 0). Complete output is limited to 20 MiB.
  • Use strict JSON: no comments, trailing commas or duplicate keys within an object. Keys are compared after JSON escape decoding. Unpaired Unicode surrogates are rejected. Parsing ignores one leading BOM; literal text encoding keeps it as data.
  • Encoding treats input as literal text and needs at least one character. Decoding accepts only a JSON string; "" creates an empty TXT file. Output layout and indentation are disabled for both string tasks.
  • The preview shows up to 4,000 Unicode characters. Copy and download use the complete result. Sorting reorders object keys recursively in UTF-16 order and leaves array items in place; it does not produce canonical JSON.
  • Processing stays in this browser. Worker loading and processing share a 10-second limit. Failed or cancelled runs do not publish a partial new result.
Open JSON formatter and string tools →
JavaScript regex testerTest JavaScript patterns against text and inspect matches, positions and capture groups.

Try a JavaScript regular expression with your sample text. Review highlighted matches, captured groups and start/end offsets, then copy the complete JSON result.

Steps

  1. Enter your sample in Test text, or load the example. An empty sample is allowed.
  2. Enter the pattern source and flags in their separate fields, then select Test expression. Do not wrap the pattern in /.../ delimiters.
  3. Check the highlighted text, positions and groups. Copy the JSON to keep all retained matches together with the sample text.

Available options

Regular expression
Enter as needed

Enter JavaScript pattern source directly, with flags in the next field. The tool does not remove surrounding slashes, trim spaces or add escapes. An empty pattern is valid.

Flags (i, m, g, s, u, y)
g

Use each lowercase flag at most once: i, m, g, s, u, y, with no spaces. Repeated matching is enabled by g, y, or both. Sticky y starts at 0 and stops at a gap; it cannot skip ahead. With neither flag, only the first match is retained.

Capabilities and limits

  • Patterns can use up to 4 KiB and test text up to 256 KiB, measured as UTF-8 bytes. The 2-second processing timeout starts when the Worker is ready. Loading has a separate 30-second timeout.
  • Start and end positions refer to the whole match and use zero-based UTF-16 code-unit offsets. The end offset points just after the match.
  • At most 1,000 matches are retained. The tool stops after retaining the 1,000th and sets capped; it does not check for a 1,001st match. Count reports the matches retained, so capped does not prove that more matches exist.
Open JavaScript regex tester →
Compare textCompare two texts line by line, with a side-by-side view of changes.

Compare an original and a revised text line by line. Review aligned changes, then download the complete texts as before.txt and after.txt. These UTF-8 files contain the texts used in that comparison; ignoring whitespace changes how lines are matched, not the saved text.

Steps

  1. Paste the original into “Original text” or select a local UTF-8 text file, then paste the changed version into “Revised text”. Clear Original text if you want to compare the selected file instead.
  2. Choose whether to ignore whitespace differences in Options, then select “Compare texts”.
  3. Review the aligned line numbers and changes. Use “Download” beside before.txt or after.txt to keep the complete text from that run, without diff markers or line numbers.

Available options

Ignore whitespace differences
Off by default

For matching only, collapse runs of whitespace and trim each line. The texts in the result files stay unchanged.

Capabilities and limits

  • Each pasted text can contain up to 1 MiB of UTF-8 text. You may select one file up to 10 MiB for the original; filenames are limited to 512 UTF-16 code units. Some characters, including emoji, use two code units.
  • Each side can contain at most 4,000 lines, counting a final empty line after a line ending. The comparison also requires (original lines + 1) × (revised lines + 1) to be no greater than 4,000,000. Reduce the number of lines if this limit is reached.
Open Compare text →
HTML formatterFormat HTML source with consistent indentation and review the result as text.

Format HTML source locally with Prettier, including supported embedded JavaScript and CSS. The result is displayed as code text; its markup and scripts are not run. Formatting is not validation, and embedded-code errors may not stop a result from being produced.

Steps

  1. Paste source into “HTML input” or select a local UTF-8 file. Clear the pasted text to use a selected file, or remove the file to use pasted text alone.
  2. Choose Indentation and String quote preference, then select “Format HTML”.
  3. Review the complete formatted source, then use “Copy result” or download formatted.html. Check embedded scripts and styles before using the result.

Available options

Indentation
2 spaces · 4 spaces

Choose two or four spaces for indentation. Prettier also controls line wrapping, so the result may change more than leading spaces.

String quote preference
Double quotes · Single quotes

Set Prettier’s string-quote preference. It can affect supported embedded JavaScript and CSS; it does not force every string or HTML attribute to use the selected quote.

Capabilities and limits

  • Paste up to 1 MiB of UTF-8 text, or select one file up to 10 MiB. Nonempty pasted text takes priority over the file; clear the text to format the file instead.
  • Filenames are limited to 512 UTF-16 code units; some characters, including emoji, use two. A selected file is still checked and read even when pasted text takes priority. When used as input, the file must decode as UTF-8.
Open HTML formatter →
CSS formatterReformat CSS into readable rules with consistent indentation and spacing.

Use Prettier to format CSS source for reading and editing. The output stays in a text view: it is not applied to this page, and formatting does not fetch URLs referenced in the stylesheet.

Steps

  1. Paste CSS into “CSS source” or choose a UTF-8 file. To use the file, clear the pasted text; to use pasted text alone, remove the file.
  2. Choose 2 spaces or 4 spaces under Indentation, then select “Format CSS”. Prettier may also adjust line breaks and quoted strings.
  3. Read the full result, then use “Copy result” or download formatted.css. If you change the input or options, run the formatter again to update the output.

Available options

Indentation
2 spaces · 4 spaces

Capabilities and limits

  • Paste up to 1 MiB of UTF-8 text or choose one file up to 10 MiB. Filenames can contain up to 512 UTF-16 code units; characters such as emoji may count as two. Nonempty pasted text is formatted in preference to a selected file, but the file is still checked and read.
Open CSS formatter →
JavaScript formatterMake JavaScript easier to read with consistent indentation, spacing and line breaks.

Format pasted JavaScript or one local file with Prettier. Choose two- or four-space indentation and a quote preference; the code is processed in your browser without being run.

Steps

  1. Paste code into “JavaScript” or choose one UTF-8 file. Clear the text box to use the file, or remove the file to work with pasted code alone.
  2. Under “Options”, choose 2 or 4 spaces for “Indentation” and set “Quote preference”. Then select “Format JavaScript”.
  3. Review the formatted code. Use “Copy result” to copy it or “Download” to save formatted.js. Run the formatter again if you change the input or options.

Available options

Indentation
2 spaces · 4 spaces
Quote preference
Double quotes · Single quotes

Capabilities and limits

  • Paste up to 1 MiB of UTF-8 text, or choose one UTF-8 file up to 10 MiB. The file picker accepts .js, .mjs and .txt files. Filenames can contain up to 512 UTF-16 code units; one visible character may use more than one code unit. Pasted text takes priority whenever the box is nonempty, even if it contains only spaces. A selected file is still checked and read.
Open JavaScript formatter →
SQL formatterReformat PostgreSQL-style SQL with line breaks, spacing and optional uppercase keywords.

Make PostgreSQL-style query text easier to read. You can uppercase the keywords this tool recognizes or leave their case as typed. Formatting happens in your browser without connecting to a database or running the SQL.

Steps

  1. Paste a query into “SQL input” or choose one local UTF-8 file. Clear the text box to use the file, or remove the file to use pasted SQL alone.
  2. Under “Options”, choose whether to enable “Uppercase recognized keywords”, then select “Format SQL”.
  3. Compare the result with the original, especially numbers and operators. Use “Copy result” to copy the text or “Download” to save formatted.sql. Run the formatter again after changing the input or option.

Available options

Uppercase recognized keywords
On by default

Capabilities and limits

  • Paste up to 1 MiB of UTF-8 text or choose one UTF-8 .sql or .txt file up to 10 MiB. Filenames can contain up to 512 UTF-16 code units; a visible character may use more than one code unit. Nonempty pasted text takes priority, including text that contains only spaces, but a selected file is still checked and read. Block comments can nest up to 100 levels.
Open SQL formatter →
UUID v4 generatorGenerate random UUID v4 identifiers to copy or download as a text file.

Create a batch of random UUID v4 identifiers in your browser, with one UUID per line. Choose a count, then copy the complete list or download it as uuids.txt.

Steps

  1. Under Options, enter the Number of UUIDs you need, from 1 to 1,000. Leave it empty to generate one.
  2. Select Generate UUIDs to create a new list. You do not need to paste text or choose a file.
  3. Use Copy result for the full list, or download uuids.txt. Save the result before starting another batch.

Available options

Number of UUIDs
1

Capabilities and limits

  • Generate 1 to 1,000 UUIDs at a time. The count must be a whole number; leaving it empty uses 1. Each run creates a new batch and replaces the displayed result, so save any list you want to keep before generating another.
Open UUID v4 generator →
JSON to TypeScriptTurn an API response into nested types with arrays, unions and null values.

Generate a TypeScript type alias or a top-level interface from a JSON response, including nested objects, arrays and null values. Fields missing from some objects in a sample array become optional; fields absent from the entire sample cannot be inferred. Large JSON numbers become number, so review precision requirements.

Steps

  1. Choose Paste JSON or Choose a file, then provide one JSON object or array.
  2. Set the output name and choose a type alias or an interface. Interfaces require a top-level JSON object.
  3. Review optional fields, null values and number precision, then copy or download the .ts file.

Available options

Type name
Root

The top-level TypeScript type name, such as ApiResponse. Check for naming conflicts in your project.

Declaration style
Type alias (any JSON value) · Interface (top-level object)

Capabilities and limits

  • Types describe this sample only. Optional fields are inferred only when they vary among objects in a sample array. Types do not validate runtime data.
  • Processing stays in your browser. Pasted text is limited to 1 MiB.
Open JSON to TypeScript →
JSON to typed XMLConvert JSON to XML with type attributes for objects, arrays and scalar values.

Convert JSON into XML with a type attribute on every value. Common JSON keys become element names; arrays use item elements. Inspect the mapping before using it with an XML consumer.

Steps

  1. Paste JSON or select a UTF-8 JSON file.
  2. Check the source validation and whether any keys need the property-name fallback.
  3. Create the XML, inspect the type attributes, then copy or download the complete file.

Capabilities and limits

  • This is a type-attribute mapping, not an arbitrary XML schema or an exact WCF serializer. Keys that are not simple XML names use <property name="…">.
  • JSON strings containing characters prohibited by XML 1.0 cannot be converted. Duplicate JSON keys are rejected.
  • Files and input are processed in this browser. No account needed.
Open JSON to typed XML →
XML to JSON treeConvert XML with mixed text and elements to an order-preserving JSON tree.

Convert XML with mixed text and elements to an order-preserving JSON tree. Inspect name, attrs and children instead of losing text order in a grouped object mapping.

Steps

  1. Paste XML or select a UTF-8 .xml or .txt file.
  2. Check the root and counts, then convert to the ordered JSON tree.
  3. Inspect mixed children and attributes; copy or download the complete JSON.

Capabilities and limits

  • XML 1.0 and UTF-8 only. DTD declarations and external entities are rejected. Pasted text is limited to 1 MiB; a file to 10 MiB; the tree to 200,000 elements and 128 levels.
  • Children retain source order. Adjacent text and CDATA are combined; comments and processing instructions inside the root are retained, while those outside it are omitted.
  • This is a structural tree, not a domain-specific schema. Files are processed in this browser.
Open XML to JSON tree →
XML formatterIndent XML structure while keeping mixed text, CDATA and comments intact.

Paste compact XML or choose a UTF-8 file. Indent structural elements for inspection while preserving mixed text, CDATA, comments, processing instructions and xml:space regions.

Steps

  1. Paste XML or choose one UTF-8 .xml or .txt file.
  2. Check the root and protected text regions; then format the XML.
  3. Review the whitespace warning and preview, then copy or download the complete result.

Capabilities and limits

  • Indentation adds line breaks and replaces whitespace-only text between structural tags. Check whitespace-sensitive consumers before replacing the source.
  • Only XML 1.0 and UTF-8 are supported. DTD declarations and external entities are rejected. Paste is limited to 1 MiB, one file to 10 MiB, 200,000 elements and 128 levels.
  • Tag spelling, attribute quotes and entity references remain as written. Formatting does not check a business schema or repair invalid XML.
Open XML formatter →
SQL IN listTurn a pasted spreadsheet column or one-value-per-line TXT file into a quoted SQL IN fragment.

Paste a single column of IDs or names and generate an IN (...) fragment. Choose Text or Number before generating, then check skipped blank rows and repeated values.

Steps

  1. Paste one spreadsheet column or open a UTF-8 TXT file with one value per line.
  2. Choose Text for IDs/names or Number for numeric columns, and check the preflight counts.
  3. Generate the fragment, review its quoting and target column type, then copy or download the complete SQL.

Available options

Value type
text · number

Capabilities and limits

  • Processes input locally; no query is executed or sent to a server.
  • One value per line, up to 50,000 lines. Blank rows are skipped; duplicates are retained.
  • Text uses standard SQL apostrophe doubling. Backslashes and control characters are rejected because SQL dialects differ. Use query parameters for untrusted or dynamic data.
  • Large IN lists and NULL matching depend on your database; this tool does not validate a complete query.
Open SQL IN list →
CSV to SQL INSERTGenerate reviewable PostgreSQL or MySQL INSERT scripts from CSV for an existing table.

Turn CSV rows into an INSERT script for an existing table. Choose the database syntax, separator and empty-cell policy before checking a data sample and saving the script.

Steps

  1. Paste CSV with a header row or choose one UTF-8 CSV, TSV or TXT file.
  2. Choose PostgreSQL or MySQL, the CSV separator, target table and whether blank cells mean empty strings or SQL NULL.
  3. Check row, column and blank-cell counts and the CSV sample; then generate, review, copy or download the complete SQL script.

Available options

Table name
records
SQL dialect
postgres · mysql
CSV separator
Comma · Semicolon · Tab · Pipe
Blank cells
Empty string · SQL NULL

Capabilities and limits

  • CSV headers must match columns in an existing table. Headers are trimmed; one or two table-name parts are quoted. No table is created or database connection made.
  • All nonblank cells become text literals. Blank cells become empty strings or SQL NULL by choice; literal "NULL" stays text. Check target column types and constraints before executing.
  • PostgreSQL backslashes and line breaks use E-string escapes. MySQL values containing backslashes or line breaks use UTF-8 hexadecimal literals to avoid SQL-mode-dependent interpretation; target connection must accept UTF-8.
  • Up to 200,000 CSV cells and 1,000 columns; paste is limited to 1 MiB, one UTF-8 file to 10 MiB and SQL output to 20 MiB. Each INSERT has at most 500 rows.
Open CSV to SQL INSERT →
cURL to fetchConvert a copied cURL API request into browser fetch code.

Paste an HTTP(S) cURL request to generate browser fetch code. Check the method, headers and body before copying; the converter never runs the request.

Steps

  1. Paste one cURL command copied from API documentation or a terminal.
  2. Review the parsed method, host, headers and body size. Fix any unsupported option shown below the input.
  3. Generate, inspect and copy the JavaScript. Check secrets and browser CORS behavior before using it.

Capabilities and limits

  • Supports one HTTP(S) URL, -X/--request, -H/--header, repeated -d/--data or --data-raw, --data-binary, --json, --url, -G/--get, -I/--head, -L/--location, --compressed and -v/--verbose. Verbose diagnostics are omitted. Local file bodies, shell expansion and other options are rejected.
  • Browser fetch cannot set Cookie, Host, Content-Length and other forbidden headers. Such requests are rejected. CORS, credentials and redirects can still differ from cURL. Generated code cannot verify or fix server-side API behavior.
  • Conversion runs in this browser. No network request is sent and no account is needed.
Open cURL to fetch →
HTTP headers parserInspect a copied HTTP header block and preserve repeated fields in JSON.

Paste raw request or response headers to inspect every field line in order. Repeated fields, including Set-Cookie, stay separate in the JSON export.

Steps

  1. Copy the raw header source from a network inspector or log, then paste it or choose a UTF-8 text/log file.
  2. Check the start line, field counts and repeated-name count. To inspect values within one comma-list field, enter its name; confirm whether any body lines were ignored.
  3. Parse and inspect the ordered table; copy or download the complete JSON with separate entries for repeated fields.

Available options

Comma-list field to split (optional)
Enter as needed

Capabilities and limits

  • Parses one HTTP header section: an optional request/response start line or HTTP/2-style pseudo-fields, followed by up to 1,000 field lines. A blank line ends the section; body lines are counted but ignored.
  • Field names follow HTTP token syntax. Obsolete folded lines, malformed names, control characters and invalid UTF-8 files are rejected. This is a structural inspector, not a full protocol or security validator.
  • Optionally split one chosen comma-list field into quoted values. This is not a general field-semantics parser; Set-Cookie is never split.
  • Input stays in this browser. No URL is fetched and no account is needed.
Open HTTP headers parser →
ENV and JSON converterConvert .env assignments to a string-valued JSON object or environment list, with exact value checks.

Move configuration between Node-style .env assignments and a JSON object or environment name/value list. Values stay strings, and the reverse conversion checks that every value survives a round trip.

Steps

  1. Choose ENV → JSON or JSON → ENV above the input. For ENV → JSON, choose an object or environment name/value list.
  2. Paste text or open one UTF-8 .env, .json or .txt file for the selected direction.
  3. Review the variable count, convert, then copy or download the complete result.

Available options

Task
ENV → JSON · JSON → ENV
JSON output shape
String object · Environment list

Capabilities and limits

  • Supports explicit assignments, optional export, comments, and single, double or backtick quotes including multiline values. Double-quoted \n becomes a newline, as in Node .env parsing; no variable expansion.
  • JSON → ENV accepts a top-level object of strings or an environment array of unique name/value strings. Valid variable names and exact representability are required.
  • This tool only processes input text; it does not run or send commands found in it.
  • Files and input are processed in this browser. No account needed.
Open ENV and JSON converter →
Cron expression checkerCheck a five-field Unix cron schedule and preview its next matching minutes in a chosen time zone.

Paste a five-field Unix cron time expression, choose the scheduler’s IANA time zone, and inspect the next five matching minutes. Day fields follow Cronie crontab syntax; the daylight-saving preview lists local-time matches, not guaranteed daemon executions.

Steps

  1. Paste a five-field expression such as 0 9 * * MON-FRI. Enter the scheduler’s IANA time zone; UTC is the default.
  2. Optionally enter an ISO instant with Z or a numeric offset as the starting point. Leave it blank to start from now.
  3. Select “Check schedule”. Compare the next local and UTC times, especially around daylight-saving changes, before using the expression in your scheduler.

Available options

Scheduler time zone (IANA)
UTC

Use the zone configured for the scheduler, for example America/New_York or Europe/London.

Starting instant (optional)
Enter as needed

ISO 8601 with Z or an offset, for example 2026-09-23T00:00:00Z. Blank means now.

Capabilities and limits

  • Five time fields only, without a command. Supports numbers, three-letter month and weekday names, lists, ranges and steps. Seconds, @aliases, L/W/#/?, random ~ and scheduler-specific extensions are not supported.
  • Shows up to five matches within 50 years after the chosen instant. Missing daylight-saving minutes are skipped; repeated local minutes appear with both UTC offsets. Daemon execution and time-zone rules may differ.
  • Input stays in this browser. This tool never runs a job or sends a command.
Open Cron expression checker →
chmod calculatorTranslate octal permissions including setuid, setgid and sticky bits.

Translate octal permissions including setuid, setgid and sticky bits. Compare owner, group and other permissions separately; a readable mode is not a recommendation to broaden access.

Steps

  1. Enter a three- or four-digit octal mode such as 755 or 0755.
  2. Select “Calculate permissions” and compare owner, group and other permissions separately.
  3. Check the special bits before copying or downloading the result.

Capabilities and limits

  • Only three- or four-digit octal permissions are interpreted; local file permissions are not changed.
  • The rwx string is an ls-style display, not a relative chmod expression such as g+rw.
  • The mode is calculated in this browser. It does not inspect or change any file.
Open chmod calculator →
JSON structural comparisonCompare JSON values structurally and locate changes with JSON Pointer paths, without losing large integer precision.

Paste or import an original and a comparison JSON document. Review added, removed and changed values by JSON Pointer, then copy or download the complete two-field report.

Steps

  1. Paste both complete JSON values or import a UTF-8 file into each named role. Importing one role preserves the other role.
  2. Compare. Correct reported errors in the named source and run again; syntax parsing takes place in the Worker.
  3. Inspect the bounded table and counts. Copy or download the complete JSON report to retain all changes.

Capabilities and limits

  • Each role accepts paste or one UTF-8 file import up to 1 MiB; both exact-size inputs may be used together. Filenames are limited to 512 UTF-8 bytes. Import replaces only that editable role text.
  • Each document allows 200,000 values at value depth 128, with the root at zero. The complete report is limited to 20 MiB.
  • Object key order is ignored. Arrays compare at matching indexes; insertions and moves may yield several changes. Exact decimal values compare equal: 1, 1.0 and 1e0 are equal, as are -0 and 0.
  • Duplicate decoded keys, comments, trailing commas and non-scalar Unicode are refused. One leading BOM may be ignored for parsing; original BOM and CR/LF remain part of effective source identity until edited.
  • Preview shows up to 200 rows, 512 Unicode characters per path and 160 per value. Copy and download retain every full path and compact value, including raw numeric tokens.
  • A new or removed subtree is one complete change. The report contains only equal and changes; provenance is shown separately. Browser processing has a 10-second Worker deadline and gives no partial new result on failure.
Open JSON structural comparison →
JSON Merge PatchApply an RFC 7396 merge patch locally: update object fields, delete fields with null and replace arrays as whole values.

Preview an RFC 7396 Merge Patch on a JSON document, then download the complete result. Import or paste the original and patch separately.

Steps

  1. Paste or import the original JSON and the Merge Patch JSON separately.
  2. Object members set to null are deleted; arrays and other nonobject values replace the target.
  3. Review deleted keys, whole-array replacements and the complete result before downloading. Use JSON Patch for indexed array edits.

Capabilities and limits

  • A null patch member deletes an existing object key. Existing arrays are replaced as whole values; an array element cannot be patched by ID. A nonobject patch replaces the entire document.
  • Each UTF-8 JSON input is limited to 1 MiB. The page lists up to 20 deletion and array-replacement paths of each kind; the downloaded result contains the full JSON. No HTTP PATCH request is sent.
Open JSON Merge Patch →
JSON Patch workspaceApply RFC 6902 JSON Patch operations in order, review array index shifts and download the complete result.

Paste or import an original JSON document and a JSON Patch operation array. Apply add, remove, replace, move, copy and test in sequence; review the exact result before downloading.

Steps

  1. Paste or import the original JSON and the JSON Patch operation array separately.
  2. Write RFC 6901 paths; escape slash as ~1 and tilde as ~0. Array indexes shift after insertions and removals.
  3. Run the operations in order, inspect any failed step and path, then review and download the complete JSON result.

Capabilities and limits

  • Each UTF-8 JSON input is limited to 1 MiB. The patch must be an array of at most 1,000 operations; compact intermediate JSON is limited to 2 MiB. Duplicate keys and invalid UTF-8 are rejected.
  • Array indexes refer to the document after the preceding operation. A failed path or test reports its step and path, with no partial output. Removing the whole root is rejected because no JSON document would remain.
  • The preview does not overwrite the original file or send an HTTP PATCH request.
  • Result JSON preserves the original number tokens.
Open JSON Patch workspace →
INI and JSON converterMove single-line INI configuration to a structured JSON document, or rebuild INI from string values.

Keep global assignments separate from named sections. Convert device or application settings locally, then inspect the complete values before downloading.

Steps

  1. Choose INI to JSON or JSON to INI, then paste the input or open a UTF-8 file.
  2. For JSON input, use global and sections string maps. Resolve repeated names and unsupported multiline values before running.
  3. Check the section, key and value preview. Copy the full result or download the JSON/INI file; keep the original configuration.

Available options

Conversion
INI → JSON · JSON → INI

Capabilities and limits

  • One UTF-8 file or pasted input, at most 1 MiB and 50,000 physical lines. When a file is selected it takes precedence; remove it to process pasted input. The page previews up to 200 assignments; the download contains the complete result.
  • Supports single-line key=value assignments, [section] headings and whole-line # or ; comments. Spaces and tabs around names and values are trimmed. Quotes, backslashes, extra equals signs and inline #/; remain literal text. Repeated sections and duplicate keys within a section are rejected.
  • The JSON structure is {"global":{...},"sections":{"section":{...}}}. All values must be strings. Empty sections are kept. Comments and original spacing are omitted; no DEFAULT inheritance, variable expansion or multiline assignments.
  • JSON to INI rejects names or values that cannot survive this syntax, including line breaks and leading/trailing spaces in values. Other INI dialects may interpret the exported file differently; check it in the receiving application.
Open INI and JSON converter →
Java Properties and JSON converterDecode Java .properties escapes and continuations, or export a string-valued JSON map as an ASCII properties file.

Move localization messages and Java configuration between .properties and JSON. Java escape rules are applied locally; export uses Unicode escapes so the result can be loaded from an ASCII-compatible byte stream.

Steps

  1. Choose Properties to JSON or JSON to Properties, then paste content or open a UTF-8 file.
  2. Review Unicode escapes, line continuations and key separators. Fix duplicate decoded keys; use a flat string map for JSON input.
  3. Inspect the keys and values. Copy or download the full result, and test the configuration in its receiving application.

Available options

Conversion
Properties → JSON · JSON → Properties

Capabilities and limits

  • One UTF-8 input or file, at most 1 MiB and 50,000 physical lines. Selected files take precedence over pasted text. For legacy Latin-1 files, first convert the text encoding to UTF-8. The page previews 200 entries; the download is complete.
  • Uses Java Properties.load(Reader) rules: =, : or unescaped whitespace separate key and value; odd trailing backslashes continue a line. Unicode escapes use exactly four hex digits after one u. Unknown escapes drop the backslash, as Java does.
  • Duplicate decoded keys are rejected instead of retaining the last occurrence. JSON must be a flat object containing only string values. Empty keys and empty values are supported; comments, original spacing and ordering guarantees are not transferred.
  • JSON to Properties emits ASCII with Unicode escapes, including surrogate pairs. It does not expand Spring placeholders, run code, load XML properties, or configure an application. Check the exported settings before use.
Open Java Properties and JSON converter →
JSON structure redactorReplace all JSON scalar values or explicit object keys with a mask while retaining the document structure and a value-free path report.

Prepare a structural sample for debugging or a support request. Choose the values to replace yourself, review the remaining content, then share the redacted document.

Steps

  1. Paste JSON or open a local file, then choose all scalar values or exact object keys.
  2. Set the mask. For exact keys, enter a JSON string array such as ["token","email"]. Check case and nested keys.
  3. Review the replacement count and paths, inspect retained keys/values, then download the redacted JSON and path report.

Available options

Replacement scope
All scalar values · Exact object keys
Mask string
[redacted]

Capabilities and limits

  • One UTF-8 JSON file or pasted document up to 1 MiB. A selected file takes precedence. Parsing rejects duplicate keys, malformed JSON, depth above 128 or more than 200,000 nodes. Pointer report budget is 8 MiB; conservative redacted-output budget is 20 MiB. Preview includes up to 200 replacements.
  • All-scalars mode replaces strings, numbers, booleans and null with the mask string; object keys and array/object containers remain. Exact-keys mode uses a nonempty JSON array of up to 1,000 case-sensitive key names and replaces each matching key’s entire value, including a container.
  • The mask may have up to 200 Unicode code points. Unselected numbers retain their original lexical text without floating-point rounding. Reports contain only replacement counts, JSON Pointer paths and original types, never stored original values. Keys and paths remain visible, so inspect them before sharing.
  • This tool does not detect PII, secrets or credentials automatically. Exact-key mode can leave sensitive values under other keys, and all-scalars mode changes value types. Keep the original locally and review the complete downloaded result.
Open JSON structure redactor →
Exact unified diff applierApply one text-file unified diff at its declared lines with exact context and explicit line-ending handling.

Rebuild a revised text file from its original and a patch. Check context, line coordinates and EOF markers locally before downloading the complete result.

Steps

  1. Open the original file or paste LF text, then paste the single-file unified diff into the patch field.
  2. Choose literal payload or explicitly restore CRLF. Verify the original version, declared line positions and no-newline markers.
  3. Apply the patch, inspect the hunk summary and complete output, then download patched.txt with its report.

Available options

Patch payload line endings
Literal payload (LF unless CR retained) · Restore CRLF payload after pasting

Capabilities and limits

  • Original UTF-8 text and patch each up to 1 MiB. One source file takes precedence over pasted source. At most 50,000 source/output lines, 100,000 patch lines and 2 MiB output. Preview includes up to 200 hunks.
  • Supports single-file ---/+++ unified headers, optional git diff/index preamble, exact hunk counts, text creation/deletion and “No newline at end of file” markers. Binary, rename, mode-change and multifile patches are rejected. Header names are labels only; no filesystem path is opened.
  • No fuzz or offset search. Removed/context text, declared line coordinates and line endings must match exactly. Default literal payload uses the patch’s record endings. CR-only source records and NUL binary content are unsupported. Any failed hunk stops the entire run without a partial artifact.
  • Browsers normalize textarea line endings to LF. To keep a CRLF source, open it as a file and explicitly select CRLF payload when pasting a CRLF patch. This option restores CRLF for all payload records; EOF markers still remove the final ending. Leave literal mode for LF or genuinely mixed endings.
Open Exact unified diff applier →
Markdown frontmatter extractorSeparate supported JSON or YAML frontmatter from Markdown and verify that the remaining body bytes stay unchanged.

Move content metadata without reformatting the article body. Export metadata as JSON, preserve the exact body boundary, and retain a SHA-256 report for checking.

Steps

  1. Open the content file or paste text with a supported file-start metadata header.
  2. Extract and inspect metadata.json, the detected format and exact body boundary. No header returns empty metadata and the full body.
  3. Download body.md and the extraction report together. Compare the SHA-256 if the body must survive a migration unchanged.

Capabilities and limits

  • One UTF-8 file or pasted text up to 1 MiB; a selected file takes precedence. JSON metadata must be a file-start object. YAML starts with --- at column zero and closes with --- or ... at column zero. TOML frontmatter is unsupported.
  • JSON extraction ends after the first complete root object and consumes one immediately following line ending as separator. YAML extraction consumes the closing marker and its line ending. A leading UTF-8 BOM is skipped for header detection; without a header the full original body, including BOM, stays unchanged.
  • The local safe YAML subset supports mappings, arrays, ordinary scalar values, quoted/flow values and basic block scalars. Tags, anchors, aliases, merge keys, multiple documents and non-finite numbers are rejected. Metadata must be an object; comments and metadata formatting are not retained in JSON.
  • Body text after the boundary is not parsed, rendered or executed, including MDX. body.md retains its UTF-8 bytes and line endings. The report provides boundary offsets, body byte count and SHA-256; pasted textarea input may already have LF-normalized endings. Open a file when original CRLF bytes matter.
Open Markdown frontmatter extractor →
EditorConfig path inspectorResolve declared properties for explicit paths under one EditorConfig file and trace section order, overrides and unset.

Check why one file receives different editing rules from another. Enter relative paths and inspect each matched section and the declaration that supplied the final value.

Steps

  1. Paste or open one .editorconfig file and enter one relative POSIX file path per line.
  2. Inspect final properties, matching sections and declaration line numbers. Check which later rule overrides or unsets a value.
  3. Download the complete JSON trace. Compare editor-specific defaults separately when reproducing behavior in an actual editor.

Capabilities and limits

  • One UTF-8 EditorConfig file or pasted config up to 64 KiB. Selected file takes precedence. Up to 200 sections, 5,000 declarations, 200 distinct paths of 512 code points, 1,024-character patterns, 5,000,000 matching steps and 50,000 matched declaration applications, with a 20 MiB conservative report budget.
  • Paths use case-sensitive relative POSIX spelling under the supplied config directory. No absolute path, backslash, empty component, . or .. component. There is no parent-directory search, child config merge or filesystem access. root is reported from the preamble only.
  • Supports EditorConfig 0.17.2 glob *, **, ?, literal/negated sequence classes, nested comma brace choices, increasing signed integer ranges and backslash escapes. Character-class hyphens are literal, not ranges. A slash outside classes anchors at the config directory; patterns without a slash may match basenames at any depth. LF/CRLF config endings are supported; CR-only is rejected.
  • Keys and known core property values are lowercased; other values retain case. Later matching declarations win and unset removes a property, with an ordered trace. Only declared properties are shown: editor defaults and derived indent_size/tab_width are not synthesized. Preview shows up to 200 properties; JSON retains every path and trace.
Open EditorConfig path inspector →
npm lock declared-copy inventoryInspect package-lock v2/v3 installation declarations and separate repeated names, aliases, links, workspaces and unknown versions.

Review what a lockfile declares before investigating dependency duplication. Preserve installation paths and versions without assuming that every entry exists on disk.

Steps

  1. Paste or open package-lock.json and confirm that its version is 2 or 3.
  2. Inspect declared copies and repeated names, then review aliases, links, workspaces and unknown versions separately.
  3. Download the JSON snapshot or path-level CSV. Use package-manager and filesystem checks separately before changing dependencies.

Capabilities and limits

  • One UTF-8 package-lock JSON file or pasted input up to 1 MiB; a selected file takes precedence. Supports lockfileVersion 2 or 3 with a packages object, up to 10,000 entries and 512-character relative paths. Duplicate JSON keys and invalid descriptors/paths are rejected.
  • The root package entry is excluded from copies. Non-link node_modules entries are installation declarations, and repeated descriptor names are grouped across paths. An explicit name differing from the install slot is classified as an alias. Missing versions stay unknown; version strings are not assumed to be SemVer.
  • link:true entries are listed separately with their declared targets, and non-node_modules locations are workspace declarations. v2 legacy dependencies are ignored when packages is read, so the compatibility snapshot is not counted twice. The source kind is a label only; URLs and local targets are never opened.
  • This is a lockfile snapshot, not a disk scan, installation verification, vulnerability audit or proof that npm can dedupe packages. JSON keeps exact declared versions; CSV uses spreadsheet-safe cells. Preview shows up to 200 installation declarations.
Open npm lock declared-copy inventory →

Tools used in this article

JSON formatter and string tools →Format or minify JSON, sort object keys, or convert between plain text and a JSON string.JavaScript regex tester →Test JavaScript patterns against text and inspect matches, positions and capture groups.Compare text →Compare two texts line by line, with a side-by-side view of changes.HTML formatter →Format HTML source with consistent indentation and review the result as text.CSS formatter →Reformat CSS into readable rules with consistent indentation and spacing.JavaScript formatter →Make JavaScript easier to read with consistent indentation, spacing and line breaks.SQL formatter →Reformat PostgreSQL-style SQL with line breaks, spacing and optional uppercase keywords.UUID v4 generator →Generate random UUID v4 identifiers to copy or download as a text file.JSON to TypeScript →Turn an API response into nested types with arrays, unions and null values.JSON to typed XML →Convert JSON to XML with type attributes for objects, arrays and scalar values.XML to JSON tree →Convert XML with mixed text and elements to an order-preserving JSON tree.XML formatter →Indent XML structure while keeping mixed text, CDATA and comments intact.SQL IN list →Turn a pasted spreadsheet column or one-value-per-line TXT file into a quoted SQL IN fragment.CSV to SQL INSERT →Generate reviewable PostgreSQL or MySQL INSERT scripts from CSV for an existing table.cURL to fetch →Convert a copied cURL API request into browser fetch code.HTTP headers parser →Inspect a copied HTTP header block and preserve repeated fields in JSON.ENV and JSON converter →Convert .env assignments to a string-valued JSON object or environment list, with exact value checks.Cron expression checker →Check a five-field Unix cron schedule and preview its next matching minutes in a chosen time zone.chmod calculator →Translate octal permissions including setuid, setgid and sticky bits.JSON structural comparison →Compare JSON values structurally and locate changes with JSON Pointer paths, without losing large integer precision.JSON Merge Patch →Apply an RFC 7396 merge patch locally: update object fields, delete fields with null and replace arrays as whole values.JSON Patch workspace →Apply RFC 6902 JSON Patch operations in order, review array index shifts and download the complete result.INI and JSON converter →Move single-line INI configuration to a structured JSON document, or rebuild INI from string values.Java Properties and JSON converter →Decode Java .properties escapes and continuations, or export a string-valued JSON map as an ASCII properties file.JSON structure redactor →Replace all JSON scalar values or explicit object keys with a mask while retaining the document structure and a value-free path report.Exact unified diff applier →Apply one text-file unified diff at its declared lines with exact context and explicit line-ending handling.Markdown frontmatter extractor →Separate supported JSON or YAML frontmatter from Markdown and verify that the remaining body bytes stay unchanged.EditorConfig path inspector →Resolve declared properties for explicit paths under one EditorConfig file and trace section order, overrides and unset.npm lock declared-copy inventory →Inspect package-lock v2/v3 installation declarations and separate repeated names, aliases, links, workspaces and unknown versions.