All apps/HTML Tidy

HTML Tidy

tidy

Tidy tidies HTML and XML: it can tidy your documents by itself, and developers can integrate its features into even more powerful tools.

Runs as tidy|macOS, Linux, Windows|www.html-tidy.org

Command form

ai-draft · 2 tasks · 11 fields

Clean up and pretty-print an HTML or XML file. Encoding switches and accessibility levels are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui tidy
Tidy HTML/XMLExample values, fixed in this page — nothing here reaches a terminal
Basic
Input file*
file
Write result to*
file
Indent element content
-indent
Wrap column
integer
TasksEach one presets the form for one job
Pretty-print to a new file
inputoutputindentwrap
Check for errors only
inputerrors_only
ParametersOnly these flags are editable in the form
Input file
path · positional 0
Write result to
path
-output-o
Modify input file in place
boolean
-modify-m
Indent element content
boolean
-indent-i
Wrap column
integer
-wrap-w
Replace FONT/NOBR/CENTER with CSS
boolean
-clean-c
Only show errors
boolean
-errors-e
Suppress nonessential output
boolean
-quiet-q
Input is well-formed XML
boolean
-xml
Convert HTML to XHTML
boolean
-asxhtml
Configuration file
path
-config
SourcesEvery flag above is checked against these
help
-output <file>, -o write output to the specified <file> -config <file> set configuration options from the specified <file> -modify, -m modify the original input files -indent, -i indent element content -wrap <column>, -w wrap text at the specified <column>. 0 is assumed if -upper, -u force tags to upper case -clean, -c…
helptidy -h, Apple build 8433

Before it fills your prompt, Otty checks the installed tidy against its version. A form that does not match your version is not offered.