JSON Formatter
Format valid JSON with 2 or 4 spaces and pinpoint common syntax errors.
Open tool181 free online tools for data, text, networking, CSS, image conversion and editing, SVG, icons, image dimensions, EXIF, metadata, and color analysis. Everything runs locally in your browser.
Work with data and text, convert and edit images, create website and app icons, check dimensions and EXIF, extract palettes, inspect pixels, and explore histograms. No sign-in required.
Format valid JSON with 2 or 4 spaces and pinpoint common syntax errors.
Open toolValidate JSON syntax with a clear status, error reason, and precise location.
Open toolCompact valid JSON into a single line and compare its size with the original.
Open toolSwitch between raw JSON and a collapsible tree with clear value-type highlighting.
Open toolConvert arrays of objects to standard CSV with correct quoting, commas, line breaks, and missing fields.
Open toolParse CSV using RFC 4180 conventions, including quoted commas, line breaks, and escaped quotes.
Open toolCheck and format XML while preserving attributes, comments, and CDATA.
Open toolConvert XML to JSON with clear rules for attributes, text, and repeated elements.
Open toolRecursively convert objects and arrays, escape text, and reject invalid XML tag names.
Open toolConvert YAML to JSON with support for common objects, arrays, scalars, and YAML 1.2 syntax, with clear syntax error messages.
Open toolTurn standard JSON into readable YAML with correct handling for objects, arrays, and scalar values.
Open toolEncode UTF-8 text as Base64 with support for international characters and emoji.
Open toolValidate Base64 input and decode it back into multilingual Unicode text.
Open toolEncode international text and special characters in URL Component or Full URL mode.
Open toolDecode percent-encoded text and report incomplete or invalid sequences clearly.
Open toolStrictly parse hexadecimal bytes and restore to multilingual text as UTF-8.
Open toolEncode Unicode text into UTF-8 bytes and output in three common hexadecimal formats.
Open toolParses binary strictly as 8-bit bytes and decodes to readable text using UTF-8.
Open toolEncode Unicode text into UTF-8 bytes, and then output a fixed eight-bit binary.
Open toolConvert between characters, ASCII decimal, hexadecimal, and binary, and mark non-ASCII characters.
Open toolView encoding information one by one Unicode Code Point, and support U+ and JavaScript escape and reverse conversion.
Open toolEncode special characters commonly found in HTML, and optionally convert non-ASCII characters into numeric entities.
Open toolDecode named and numeric HTML entities and display the result as plain text.
Open toolTest JavaScript regular expressions and inspect matches, indexes, and capture groups. Tests that take too long stop automatically.
Open toolGenerate 1–100 cryptographically random UUID v4 values with case and hyphen options.
Open toolConvert between Unix seconds, milliseconds, and dates with device time zone, UTC, and ISO output.
Open toolFormat HTML documents and snippets with 2- or 4-space indentation, organizing tags, attributes, and supported embedded content.
Open toolFormat CSS selectors, media queries, keyframes, comments, calc(), and custom properties with 2- or 4-space indentation.
Open toolFormat modern JavaScript, including classes, optional chaining, template literals, and async/await, without executing your code.
Open toolFormat queries for Standard SQL, MySQL, PostgreSQL, or SQLite.
Open toolMinify HTML, remove unnecessary whitespace and comments, and compare original size, result size, and savings.
Open toolMinify CSS with support for selectors, strings, calc(), and custom properties, and compare file sizes and savings.
Open toolMinify modern JavaScript and shorten local variable names, with syntax errors, original size, result size, and savings shown.
Open toolGenerate a 64-character hexadecimal SHA-256 hash for UTF-8 text, choose uppercase or lowercase, and copy the result.
Open toolGenerate a 128-character hexadecimal SHA-512 hash for UTF-8 text, choose uppercase or lowercase, and copy the result.
Open toolGenerate a 32-character hexadecimal MD5 hash for UTF-8 text for compatibility checks with older systems, not for security.
Open toolSelect a local file and calculate SHA-256, SHA-512 or MD5 within the browser, no upload required.
Open toolLocally decodes JWT Header and Payload, and interprets common Unix time claims; does not verify signatures.
Open toolGenerate Basic Authorization Header securely in UTF-8, with the caveat that Base64 is not encryption.
Open toolParse a query string while preserving repeated parameters, empty values, and standard percent-encoding behavior.
Open toolGenerates a correctly encoded Query String from multi-line key-value parameters, allowing duplicate Keys.
Open toolBreak down a full or relative URL into protocol, host, port, path, query parameters, and fragment. Relative addresses need a base URL.
Open toolParses the pasted Cookie Header and displays the original value and secure decoding results side by side.
Open toolParses plain text HTTP headers, preserving colons in repeated fields and values, and outputs JSON.
Open toolGenerates correctly escaped cURL commands from structured request information, but does not execute the request.
Open toolSafely parse common cURL commands into fetch code and explicitly report unsupported options.
Open toolConvert supported fetch calls into cURL commands you can copy, without running your code.
Open toolLook up MIME types by file extension, find extensions for a MIME type, or search by keyword.
Open toolStrictly validate A.B.C.D notation, the 0 to 255 range, and leading-zero rules, then view each octet and the 32-bit binary representation.
Open toolValidate full, compressed, and IPv4-mapped IPv6 addresses and view expanded and normalized compressed forms.
Open toolConvert the four decimal IPv4 octets to fixed-width 8-bit binary, with both dotted and continuous output.
Open toolValidate exactly 32 binary digits, then convert continuous, dotted, or whitespace-grouped binary input to IPv4.
Open toolCalculate the subnet mask, network and broadcast addresses, address range, and host counts from an IPv4 address and CIDR prefix.
Open toolPerform comprehensive subnet calculations using a CIDR prefix or contiguous subnet mask, including boundaries, bit counts, and the host range.
Open toolConvert between CIDR prefixes and subnet masks, with strict validation that the binary 1s and 0s are contiguous.
Open toolCalculate a CIDR block's start and end addresses, usable range, and counts without expanding it into a large IP list.
Open toolPrecisely calculate the network address with IP AND Subnet Mask, and view the three-line binary operation.
Open toolPrecisely calculate the broadcast address using Network OR Wildcard, and view the binary operation.
Open toolConvert 3- or 6-digit HEX to RGB with individual channel values and a color preview.
Open ToolValidate integer R, G, and B values and generate HEX, with uppercase output and a color preview.
Open ToolConvert HEX to HSL and inspect hue, saturation, lightness, and the resulting color.
Open ToolCreate linear or radial gradients with 2–6 color stops, adjustable positions, and angles.
Open ToolAdjust card shadow offsets, blur, spread, color, opacity, and inset with a live preview.
Open ToolCreate shadows for custom text with live controls for offsets, blur, color, and opacity.
Open ToolAdjust four corners together or independently, preview the shape, and generate border-radius shorthand.
Open ToolAdjust direction, alignment, wrapping, and gap, and preview Flexbox with real elements.
Open ToolGenerate equal-track grids with independent row, column, and gap controls and up to 144 preview items.
Open ToolSet minimum, preferred, and maximum values to generate responsive clamp() CSS with a live preview.
Open ToolConvert px to rem with a custom root font size and practical decimal precision.
Open ToolConvert rem to px with a custom root font size and see the formula and result.
Open ToolSimplify width and height to an aspect ratio, or calculate a missing dimension from a ratio.
Open ToolCalculate foreground/background contrast and check all four WCAG AA and AAA text thresholds.
Open ToolPreview nine CSS filters live, generate a filter declaration, and restore defaults in one click.
Open ToolCount characters, words, paragraphs, and sentences in real time, with language-aware word segmentation and estimated reading time.
Open ToolCompare Unicode code points, visible graphemes, UTF-16 length, and UTF-8 bytes to understand emoji and text encoding.
Open ToolRemove duplicate lines with explicit case and whitespace rules, keeping the first original text and its order by default.
Open ToolRemove empty or whitespace-only lines while preserving other lines and their surrounding spaces by default.
Open ToolSort multilingual lines by text, natural or numeric order, or character length, or shuffle them randomly.
Open ToolIdentify added, removed, and unchanged lines, including Unicode and emoji.
Open ToolRecognize separators and case boundaries to generate camelCase in batches while preserving Unicode letters.
Open ToolNormalize naming styles to lowercase underscores, recognizing acronyms and existing camelCase boundaries.
Open ToolTurn phrases, camelCase names, and acronyms into lowercase words joined by single hyphens.
Open ToolOpen or paste CSV locally to inspect columns and statistics, with proper quoted-field parsing and a limited table preview.
Open ToolDeduplicate whole CSV rows or selected columns while preserving first records, column order, and correct CSV escaping.
Open ToolConvert CSV to a Markdown table with escaped pipes and consistent handling of cell line breaks.
Open ToolRecognize Markdown headers, alignment rows, and escaped pipes to generate correctly quoted CSV.
Open ToolPreview Markdown headings, lists, code, and tables live, with raw HTML and remote image loading disabled.
Open ToolConvert Markdown to copyable HTML source, with raw HTML disabled and a safe preview of the result.
Open ToolGenerate random strings of a chosen length and count using built-in or custom character sets, with an option to exclude look-alikes.
Open ToolGenerate random integers or decimals within a range, with batch output, unique integer sampling, and local downloads.
Open ToolGenerate passwords with a secure random source, require every selected category, and optionally exclude look-alikes or repeated characters.
Open ToolGenerate UUID v4 values in batches of up to 10,000, with uppercase and hyphen options.
Open ToolCreate QR codes for text or URLs locally, customize error correction, colors, and size, and download an actual-size PNG.
Open ToolCreate real linear barcodes, validate formats and check digits, and download scalable SVG images.
Open ToolMerge all sample objects into TypeScript declarations with optional fields, unions, and nested types.
Open ToolConvert JSON structure to Java classes with merged array fields, nested types, and the imports you need.
Open ToolGenerate Go structs with exported fields and json tags, including pointers, nested objects, and slices.
Open ToolGenerate Python dataclasses with unions, optional defaults, nested types, and valid field names.
Open ToolConvert JPG photos to PNG while keeping their pixel dimensions.
Open ToolConvert PNG to JPG with adjustable background color and quality.
Open ToolConvert JPG to WebP, adjust quality, and compare file sizes.
Open ToolConvert PNG to WebP, preserve transparency, and adjust quality.
Open ToolConvert static WebP to JPG with a custom background and quality.
Open ToolConvert static WebP to PNG while keeping transparency and dimensions.
Open ToolConvert browser-supported BMP to PNG while keeping pixel dimensions.
Open ToolConvert BMP to JPG with adjustable quality and background color.
Open ToolExtract a GIF’s first frame and save it as a still PNG image.
Open ToolEncode an original image as Base64 while preserving its file contents.
Open ToolDecode Base64 or a Data URI into an image and download it.
Open ToolGenerate a complete Data URI with the image type, ready to copy or download.
Open ToolChange image dimensions, with the original proportions locked by default or each side set separately.
Open ToolSet a new width; the height adjusts automatically to keep the original proportions.
Open ToolSet a new height; the width adjusts automatically to keep the original proportions.
Open ToolScale both dimensions by a percentage, with shortcuts for common sizes.
Open ToolKeep the original proportions within your maximum dimensions. Enlarging is off by default.
Open ToolCrop any rectangle by dragging the selection or entering precise pixel coordinates.
Open ToolCrop a square area, starting with the largest centered selection.
Open ToolCreate a circular avatar with a transparent outer area. PNG is the default output.
Open ToolCrop a 16:9 widescreen area directly from the original image.
Open ToolCrop to a locked 4:3 ratio, starting with the largest centered area.
Open ToolCrop to a 1:1 ratio with equal output width and height.
Open ToolAdjust JPG quality, keep the original dimensions, and compare file sizes.
Open ToolChoose lossless optimization or fewer colors while keeping PNG transparency.
Open ToolAdjust static WebP quality while preserving dimensions and transparency.
Open ToolCompare JPG and WebP quality, or choose lossless PNG output.
Open ToolSet a target in KB or MB and choose whether to allow resizing if needed.
Open ToolRotate clockwise, counterclockwise, or by a custom angle while keeping the full image.
Open ToolMirror an image from left to right while keeping its original dimensions.
Open ToolMirror an image from top to bottom while keeping its original dimensions.
Open ToolAdjust the grayscale strength from original colors to full grayscale.
Open ToolAdjust the sepia strength for a warm, vintage look.
Open ToolSet a blur radius to soften the entire image.
Open ToolAdjust sharpening to enhance edge contrast and apparent clarity.
Open ToolAdjust overall brightness. 100% keeps the original brightness.
Open ToolAdjust light and dark contrast. 100% keeps the original contrast.
Open ToolMute or intensify colors. 100% keeps the original saturation.
Open ToolShift hue by angle to explore different color combinations.
Open ToolSimulate exposure changes in EV stops. 0 EV keeps the original appearance.
Open ToolAdjust color inversion while preserving transparency and dimensions.
Open ToolChoose a pixel block size while keeping the original download dimensions.
Open ToolSet overall opacity. PNG output preserves transparency by default.
Open ToolChoose border width, color, and placement, then check the final dimensions.
Open ToolSet one radius for all corners. Default PNG output keeps the corners transparent.
Open ToolView SVG dimensions, element counts, source, and an expandable structure tree.
Open ToolAdjust the background and zoom to inspect a filtered static SVG preview.
Open ToolFormat SVG with 2- or 4-space indentation while preserving graphics and text.
Open ToolChoose conservative minification or further optimization and compare SVG size savings.
Open ToolConvert SVG to PNG with custom dimensions and a transparent background.
Open ToolConvert SVG to JPG with adjustable dimensions, background, and quality.
Open ToolEncode UTF-8 SVG as Base64 or a complete Data URI while preserving the original content.
Open ToolDecode Base64 or an SVG Data URI into SVG source and a filtered preview.
Open ToolFind fill, stroke, and gradient colors, replace matching values, and preview your palette.
Open ToolChange SVG display dimensions with the ratio locked by default, preserving viewBox and paths.
Open ToolRead or generate viewBox values and compare coordinate ratios with display scaling.
Open ToolInspect SVG paths and command counts, adjust fill and stroke, and check geometric bounds.
Open ToolCreate solid, gradient, dotted, or grid backgrounds and download an SVG at your chosen size.
Open ToolConvert PNG to a multi-size ICO, keep transparency, and adjust cropping and background color.
Open ToolTurn JPG photos into ICO icons. Fit the full image or crop the center and adjust padding.
Open ToolCreate ICO and PNG website icons with previews, a ZIP download, and matching HTML links.
Open ToolChoose sizes from 16 to 512 pixels and create PNGs, a multi-size ICO, and a ZIP icon pack.
Open ToolCreate an Apple Touch Icon with a default size of 180×180, a white background, and comfortable padding.
Open ToolCreate common Android PNG sizes and 192/512 PWA icons, with an optional folder structure.
Open ToolTurn one emoji into ICO and PNG icons. Adjust its scale and background and preview small sizes.
Open ToolCreate Apple, Android, PWA, and general-purpose PNG icons in an organized download package.
Open ToolCheck width, height, aspect ratio, megapixels, and orientation, including rotated phone photos.
Open ToolCheck the original byte count, KB/MB, KiB/MiB, file type, and pixel dimensions.
Open ToolView embedded DPI, density sources, conflicting values, and print dimensions.
Open ToolBrowse readable EXIF, IPTC, XMP, color, GPS, and other image information by category.
Open ToolCheck the camera, lens, exposure, orientation, and GPS information stored in the original photo.
Open ToolSave images again to remove common photo information while keeping the correct orientation.
Open ToolPick HEX, RGB, HSL, and alpha from original image pixels, with a pixel magnifier.
Open ToolEnter zero-based coordinates, move one pixel at a time, and check color and alpha.
Open ToolFind the leading color group, its color codes, and its estimated share of the sample.
Open ToolExtract 3, 5, 8, or 10 colors and copy the color list or CSS variables.
Open ToolCalculate linear-light or simple RGB averages with transparency-aware weighting.
Open ToolView 256-level RGB and brightness histograms with channel ranges and statistics.
Open ToolView RGB channels in color or grayscale and download PNGs with original dimensions and transparency.
Open Tool