formatting
84 tools tagged "formatting".
API Response Formatter
Pretty-print a raw API response's JSON body, headers and all.
Open toolJavaScript Formatter
Format and beautify JavaScript with consistent indentation and style.
Open toolCSS Formatter
Format and beautify CSS with consistent indentation and spacing.
Open toolHTML Formatter
Format and beautify HTML with consistent indentation and structure.
Open toolPHP Formatter
Format and beautify PHP with consistent indentation and style.
Open toolRuby Formatter
Reindent Ruby code by its def/class/if/end block structure.
Open toolTOML Formatter
Format and normalize TOML by parsing and re-serializing it.
Open toolPython Formatter
Normalize Python whitespace: tabs, trailing spaces, and blank lines.
Open toolJava Formatter
Reindent Java code by its brace nesting depth.
Open toolC Formatter
Reindent C code by its brace nesting depth.
Open toolGo Formatter
Reindent Go code by its brace nesting depth.
Open toolRust Formatter
Reindent Rust code by its brace nesting depth.
Open toolSQL Formatter
Reflow SQL into indented, clause-per-line formatting with keyword casing.
Open toolHex Number Splitter
Split one hex string into fixed-size chunks, one chunk per output line.
Open toolHex Value Padder
Left-pad every hex value in a list with zeros to a fixed digit width.
Open toolHex Value Truncator
Truncate every hex value in a list to at most N digits, keeping the leftmost digits.
Open toolJSON Double Quote Converter
Convert single-quoted JS-object-literal-like text back into valid double-quoted JSON.
Open toolJSON Formatter & Beautifier
Format and beautify messy JSON with proper indentation.
Open toolJSON Syntax Highlighter
Add syntax-colored highlighting to JSON for docs, blogs, and slides.
Open toolJSON Object Key Sorter
Recursively sort every object's keys alphabetically, ascending or descending.
Open toolJSON Single Quote Converter
Replace every structural double quote in pretty-printed JSON with a single quote.
Open toolJSON Spacing Adder
Format JSON so purely-scalar objects/arrays collapse onto one padded line, others stay multi-line.
Open toolMarkdown Formatter & Pretty Printer
Normalize heading spacing, list markers, and blank lines in Markdown.
Open toolMarkdown Escaper
Backslash-escape Markdown's special characters so literal text renders as-is.
Open toolMarkdown Unescaper
Remove backslashes added to protect Markdown's special characters.
Open toolCenter Aligner
Center every line within a fixed-width column, padding both sides.
Open toolColumn Text Converter
Collapse fixed-width columnar text back into a single flowing list of values.
Open toolLeft Padder
Pad text on the left to reach a target length.
Open toolLine Quoter
Wrap every individual line in your text with a quote character.
Open toolLine Unquoter
Strip a quote character from both sides of every quoted line.
Open toolPrintf Tool
Substitute %s/%d/%f placeholders in a printf-style format string.
Open toolRight Aligner
Right-align every line within a fixed-width column using spaces.
Open toolRight Padder
Pad text on the right to reach a target length.
Open toolSpaces to Tabs
Replace runs of 4 spaces with tab characters.
Open toolTabs to Spaces
Replace every tab character with 4 spaces.
Open toolText Box Drawer
Draw a box-drawing-character border around text, sized to fit the longest line.
Open toolText Columnizer
Arrange whitespace-separated values into fixed-width aligned columns.
Open toolText Spacing Increaser
Insert extra spaces between every character to visually widen your text.
Open toolText Spacing Normalizer
Trim edges and collapse runs of spaces or tabs down to a single space.
Open toolText Spacing Randomizer
Replace the space between each pair of words with a random number of spaces.
Open toolWord Quoter
Wrap every individual word in your text with a quote character.
Open toolWord Unquoter
Strip a quote character from both sides of every quoted word.
Open toolXML Prettifier
Prettify minified or messy XML into clean, indented markup.
Open toolXML Minifier
Strip whitespace from XML to shrink it down to the smallest valid form.
Open toolXML Syntax Highlighter
Highlight XML syntax and export it as portable, self-contained HTML.
Open toolXML Editor
Edit XML in place with live well-formedness feedback and one-click formatting.
Open toolXML Syntax Changer
Switch every empty element between self-closing (<a />) and explicit open/close (<a></a>) style.
Open toolXML Double Quote Converter
Re-write every XML attribute value using double quotes, the more common XML convention.
Open toolXML Single Quote Converter
Re-write every XML attribute value using single quotes.
Open toolYAML to Canonical Normalizer
Re-serialize YAML into a consistent, alphabetized, comment-free, diff-friendly form.
Open toolYAML Comment Remover
Strip every comment from a YAML document, leaving just the data.
Open toolYAML Formatter & Prettifier
Prettify messy or flow-style YAML into clean, indented block style.
Open toolChange All Quotes to Double Quotes
Re-quote every YAML string, keys and values, with double quotes.
Open toolChange All Quotes to Single Quotes
Re-quote every YAML string, keys and values, with single quotes.
Open toolYAML Sorter
Recursively sort every YAML mapping's keys alphabetically.
Open toolYAML Comment Replacer
Replace text inside YAML comments everywhere it appears, leaving the data untouched.
Open toolPrettier Config Generator
Generate a .prettierrc and matching .prettierignore from printWidth, quotes, semicolons, and trailing commas.
Open toolEditorConfig Generator
Generate a .editorconfig file with per-glob indent style, indent size, charset, line endings, and whitespace rules.
Open toolInteger Center Aligner
Center-align a list of integers into one monospace block, padded to the list's widest value.
Open toolInteger Left Padder
Left-pad every integer in a list with zeros up to a target width.
Open toolInteger Right Aligner
Right-align a list of integers into one monospace block, padded to the list's widest value.
Open toolInteger Right Padder
Right-pad every integer in a list with trailing zeros up to a target width.
Open toolList Item Bullet Adder
Prefix every list item with a bullet character (•, -, or *) you choose.
Open toolList Item Bullet Remover
Strip a leading bullet character (•, -, *, and common variants) from every list item that has one.
Open toolList Item Indenter
Prepend a chosen indent string (default two spaces) once to every item in a list.
Open toolList Item Joiner
Join list items into a single string using a configurable glue, like Array.prototype.join(), e.g. " | " turns a, b, c into a | b | c.
Open toolList Item Prefix Adder
Prepend a chosen text string to the start of every item in a list, with a configurable separator.
Open toolList Item Prefix Remover
Strip a chosen text string from the start of every list item that has it, with a configurable separator.
Open toolList Item Quoter
Wrap every item in a list in single or double quotes.
Open toolList Item Suffix Adder
Append a chosen text string to the end of every item in a list, with a configurable separator.
Open toolList Item Suffix Remover
Strip a chosen text string from the end of every list item that has it, with a configurable separator.
Open toolList Item Trimmer
Trim leading and trailing whitespace from every item in a list.
Open toolList Item Unquoter
Strip surrounding matching quotes (single or double) from every list item that has them.
Open toolList Item Unwrapper
Strip a chosen prefix string and suffix string from every list item that has both.
Open toolList Item Wrapper
Wrap every list item with a chosen prefix and suffix string, like "(" and ")".
Open toolList Left-Padder
Pad every item in a list on the left to a fixed width using a chosen fill character.
Open toolList Length Changer
Change a list to an exact target length, padding with a filler value or truncating as needed.
Open toolList Right-Padder
Pad every item in a list on the right to a fixed width using a chosen fill character.
Open toolList Separator Changer
Parse a list using one separator and rejoin it using a different one, e.g. newline-separated to comma-separated.
Open toolList Separator Normalizer
Split messy input that mixes commas, semicolons, newlines, and tabs inconsistently, then rejoin it with one clean separator.
Open toolList Separator Remover
Remove the separators entirely, concatenating every list item directly together into one unbroken blob.
Open toolList Skewer
Progressively increase indentation per item, creating a staircase/skewed visual shape.
Open toolList to Columns Converter
Lay a list out into N side-by-side, monospace-padded text columns, reading down each column then across.
Open toolList to Rows Converter
Lay a single-column list out into a grid of N items per row, each row's items joined by a configurable glue.
Open tool