PasteKit is a free, private online formatter for JSON, YAML, XML, SQL, CSV and code. It supports 58 formats and runs in your browser, no sign-up needed.
Researched and fact-checked by Bartu Cavusoglu · Updated November 29, 2026
PasteKit is a free online formatter, validator and converter for developers. You paste JSON, YAML, XML, SQL, CSV or source code into the editor and get formatted, validated output straight away. The site auto-detects the format of what you paste and, according to its tools page, covers 58 formatters, 48 converters, 18 validators and 9 minifiers.
PasteKit suits developers, data engineers, analysts and DevOps people who regularly need to clean up a payload, check a config file or convert data between formats, and who would rather not paste sensitive data into a site that sends it to a server. It is also handy for anyone writing documentation, since it offers links and a README badge that open content directly in the tool.
The main idea is privacy. PasteKit's About page says formatting, validation and conversion happen in your browser, inside a Web Worker in your tab, and that no server receives your input. Code formatting uses WebAssembly builds of established formatters such as Ruff, gofmt, clang-format, rustfmt and Prettier. Share links store the content after the # in the URL, which browsers do not send to the server, and the site says it works offline after the first visit. A strict Content Security Policy blocks requests to hosts that are not on its list.
The data formatters cover JSON, JSON5 and JSONC, YAML, XML, CSV, TSV, TOML, JSON Lines and Protocol Buffers. The query formatters handle SQL in 12 dialects (including MySQL, PostgreSQL, T-SQL, BigQuery and Snowflake), plus GraphQL, DAX, Power Query M, KQL, Cypher and MongoDB shell queries. Code formatting spans JavaScript and TypeScript, Python, Go, Java, PHP, C and C++, Rust, C#, Kotlin, Swift, Ruby and more, along with HTML, Markdown, CSS, SCSS and config formats like Dockerfile, Nginx, .env and Terraform HCL.
The converters turn JSON into YAML, XML, CSV, TOML, SQL or JSON Schema, and into type definitions for TypeScript, Go, Python, Java, Kotlin, C#, Rust, Swift and PHP. They also convert cURL commands into fetch, Axios, Python requests, Go or PHP code, CSV into SQL or HTML, and Markdown into HTML or PDF. JSON utilities include a diff, a patch tool, a schema validator, a path finder, a token counter, repair, a table viewer, and conversion to and from Excel. Decoders cover JWT, Base64 and URLs, and text helpers explain cron expressions and regular expressions.
PasteKit has three lightweight integrations: a bookmarklet that sends selected text from any page to the tool, "Open in PasteKit" links that preload content (either compressed into the link or fetched from a public URL such as a raw GitHub file), and a README badge served from pastekit.dev. The interface is available in nine languages.
PasteKit is free and needs no sign-up. The About page says it is funded by Google AdSense ads placed outside the editor.
PasteKit is an independent project built and maintained by one developer, Koh Yee Huei, with no company behind it. There is no API, CLI, editor plugin or browser extension, so it is a tool you visit rather than one you wire into a pipeline. The site shows ads, and because there are no accounts, there is no saved history or team workspace.