4629 · Developer Tools · v1.0.0

Tidy Dog™

A sharper home for untidy code.

Estimate source language, inspect alternatives and format supported code with deterministic parsers. Review the diff before using the result.

Tidy Dog robotic mascot with blue holographic lighting
A robotic dog mascot with blue holographic lighting represents the Tidy Dog code formatter
Application artwork; not a display of live results.
Processed locally in your browser

Text-only workspace. Never executes input. General limit: 200,000 UTF-16 units per editor; some operations have tighter limits.

Private session · history disabled

Opt in to store up to five recent text transformations on this device. Never stored on an account or synchronized. Files are never included. Disable history stops new saves; Clear history deletes saved items.

How to use Tidy Dog™

Paste input, select a command and its options, then run the transformation. Review diagnostics before copying or downloading the result. Input is not executed.

Detection is a heuristic, not a calibrated probability. Short snippets and polyglot files can match several languages. Choose a manual override when needed.

Parser-backed formatting covers HTML, CSS, SCSS, Less, JavaScript/JSX, TypeScript/TSX, JSON/JSON-LD, XML/SVG, Markdown, YAML, SQL and GraphQL. Other registry languages are detection-only; the app refuses to invent a formatter. Keep a backup and run your own tests; formatting is not a proof of semantic equivalence.

Privacy and boundaries

Editor contents stay in your browser. Transformations run in a disposable worker and are never sent to a formatting or AI service. History starts disabled; enabling it writes text to local browser storage only. Clearing that history removes this tool’s saved entries, not data saved by other applications. The surrounding website may load its normal navigation and analytics, but the utility workspace is excluded from content-interaction capture.

Use the labeled operation selector for the available capabilities. Keyboard users can reach every control with Tab; Ctrl or Command plus K opens the command palette. Copy requires clipboard permission. Download creates a local text file. Clear removes the current workspace; it does not automatically delete an opted-in history. Inputs and outputs are always rendered as text, never as a runnable preview.

What is source-code formatting?

Formatting reorganizes the presentation of source code using a language-aware parser and style rules. It is different from compilation, debugging or execution.

FIELD GUIDE · PURPOSE AND BOUNDARIES

Tidy Dog™: practical use and context

Tidy Dog is a source-code formatting and language-inspection workspace for developers, technical editors and students who need to understand an unfamiliar snippet before changing its presentation.

↑ Back to the application
A robotic dog mascot with blue holographic lighting represents the Tidy Dog code formatter
Application artwork reused from its publication image family. The interactive interface is above.

Purpose and practical uses

A formatter answers a narrow question: how should this supported syntax be laid out? It does not answer whether the program is correct, secure or efficient. Use Tidy Dog when reviewing a compact example, preparing a readable code excerpt, or comparing the style of two versions. Language detection is useful when a filename is missing, but it is a hypothesis to inspect rather than evidence about who wrote the file.

A deliberate workflow

Keep the original snippet, then choose Detect language to inspect the candidates. Select a manual language when you already know the destination grammar. Choose indentation, print width, quote preference and semicolon preference before running Tidy code. Some formatting choices belong to a language and may not affect other formats. Use Format + diff when you need to review the proposed changes rather than simply receive a replacement.

Treat the preview as a review stage. Look at string literals, embedded markup and comments before adopting the result. Copy or download only after checking diagnostics. If formatting fails, narrow the input to a complete expression or document in the selected language. An incomplete fragment can be useful for detection while still being invalid for a parser-backed formatter.

A practical example

For a documentation task, start with the built-in TypeScript greeting example. Run detection, explicitly select TypeScript, and compare the formatted function with the original. Change only the indentation setting and run it again. This isolates presentation from program logic. Repeat with a valid JSON object to see why a JSON document needs a different parser from a JavaScript object literal.

Limits and troubleshooting

The detection list is broader than the formatting list. Languages such as Python or Rust may be recognized without having a formatter here. A refusal to format an unsupported language is intentional; changing the filename or choosing an unrelated parser does not add support. Detection scores are heuristic rankings, not calibrated confidence probabilities. Polyglot documents can legitimately resemble several languages.

Formatting does not execute tests or prove semantic equivalence. Before replacing source in a project, inspect the differences and run that project’s existing checks. Preserve licensing comments where required. For production bundles, a separate minifier addresses size; making a snippet readable and making it compact are different jobs, even when both change whitespace.