Skip to content
Thryve

Thryve Format

Format and minify code, JSON, HTML, and CSS instantly on your device. No snippet ever leaves your browser tab.

License

Privacy

Processed entirely on your device

Your code never leaves your device.

Thryve Format cleans up JSON, JavaScript, TypeScript, HTML, and CSS the moment you paste it, or strips it down to a minified version for production. Detection of the language is automatic, formatting reruns as you type, and nothing you paste is ever transmitted anywhere. It runs the same Prettier engine used by millions of codebases, compiled to run entirely inside your browser tab.

How Thryve Format works

  1. 1

    Paste or drop your snippet

    Paste code directly, or drop a .json, .js, .ts, .html, or .css file up to 10 MB. The language is detected automatically from the content or the file extension, and you can override it at any time.

  2. 2

    Choose Format or Minify

    Format applies consistent indentation, quote style, and line width. Minify strips whitespace, comments, and (for JSON, CSS, and HTML) unnecessary characters, or safely renames variables for JavaScript.

  3. 3

    Tune it to your style guide

    Set indent width or tabs, single or double quotes, semicolons, trailing commas, print width, and alphabetical JSON key sorting, all reflected in a live preview as you adjust them.

  4. 4

    Copy or download the result

    Grab the formatted or minified output with one click, or download it as a file with the right extension. Before/after size and percentage saved are shown for every minify.

Why teams choose Thryve Format

Nothing you paste is ever sent anywhere

Formatting and minifying both run on your device using Prettier, Terser, and dedicated CSS/HTML minifiers compiled to run in the browser. No network request ever carries your snippet, not even to check for updates.

Five languages, one tool

JSON, JavaScript, TypeScript, HTML, and CSS all share the same paste box, options panel, and export flow, so you never have to hunt for a different tool per file type.

Live, as-you-type results

The output pane updates automatically a moment after you stop typing, with clear, line-numbered error messages if something does not parse instead of a blank result.

Real formatting options, not a toggle

Indent size or tabs, quote style, semicolons, trailing commas, print width, and alphabetical JSON key sorting are all adjustable, matching the options a team style guide actually cares about.

A free tier, then unlimited

10 copy or download actions a month at no cost, with unlimited live preview and formatting in between. A one-time Thryve Format Pro purchase removes the ceiling for good.

What it detects and edits

Automatically detects

  • Language detection from content or file extension
  • Live re-formatting as you type
  • Parse-error messages with line and column
  • Before/after size and percentage saved on minify

Manual controls

  • Switch between Format and Minify modes
  • Choose the language explicitly
  • Indent size (2, 4, or tabs)
  • Single or double quotes
  • Semicolons on or off
  • Trailing commas: none, ES5, or all
  • Print width
  • Sort JSON keys alphabetically
  • Mangle JavaScript variable names when minifying
  • Minify CSS and JS embedded in HTML

Perfect for

Frontend and backend developersAPI developers debugging payloadsStudents learning to read codeTechnical writers documenting APIsAnyone pasting a minified file to make sense of it

How it compares

 Thryve FormatTypical online JSON/code formatter
Upload required
Runs on your device
Formats 5 languages in one toolRare
Adjustable style optionsLimited
Ads next to your pasted dataOften

Frequently asked questions

Does Thryve Format upload my code or data?

No. Formatting and minifying run entirely in your browser using libraries compiled to run there. Your snippet is never sent to a server, logged, or stored anywhere outside your device.

Which languages does it support?

JSON, JavaScript, TypeScript, HTML, and CSS. The language is auto-detected from what you paste or the extension of a dropped file, and you can switch it manually from the options panel.

Can it minify TypeScript?

Not directly — type annotations are not valid input for a JavaScript minifier, so Minify mode is unavailable for TypeScript. Format mode works normally. Minify your compiled JavaScript output instead.

What happens if my code has a syntax error?

The output pane shows a clear error message, including the line and column where parsing failed, instead of a blank or broken result.

Is Thryve Format free to use?

Yes. Live formatting and minifying are unlimited on every plan. Copying or downloading a result is capped at 10 times a month on the free plan; a one-time tool purchase or the one-time Thryve OS Pro license removes that limit.