JSON to Go Struct / TypeScript / JSON Schema - Online
Paste a JSON object and quickly generate typed structs for Go, TypeScript interfaces, or a JSON Schema. Perfect for API integration.
UD5 Toolkit
/ as path separators, similar to file system paths or XPath. For example, /store/books/0/title navigates to the title of the first book in a store object. An empty string "" refers to the entire document root.
/ is used as a path delimiter and ~ is the escape indicator, they must be escaped when they appear in actual JSON keys:
~1 → represents a literal / (slash) in a key name~0 → represents a literal ~ (tilde) in a key name"path/to~file", the pointer would be /path~1to~0file.
/items/0 accesses the first element (index 0) of the items array. If the current value is an object, the token is used as a key name (even if it looks like a number). Only when the current value is an array is the token interpreted as an integer index. Out-of-range indices will produce an error.
"" points to the entire JSON document (the root). A single slash / technically points to a key that is an empty string "" at the root level. In practice, many implementations treat both as referring to the root, but this tool follows the strict RFC interpretation.
/ — all non-empty pointers must start with /. (2) The key contains / or ~ but wasn't escaped — use ~1 for / and ~0 for ~. (3) You're trying to use a numeric index on an object — check if the current value is actually an array. (4) Case sensitivity — JSON keys are case-sensitive.
Paste a JSON object and quickly generate typed structs for Go, TypeScript interfaces, or a JSON Schema. Perfect for API integration.
Paste JSON and generate typed model classes in TypeScript, Python dataclass, or Go struct. Speeds up API dev.
Convert a JSON object into application/x‑www‑form‑urlencoded format. Essential for testing legacy APIs. Pure browser.
Break down any URL into its individual components: protocol, hostname, path, query parameters. Decode query strings easily. Purely client-side.
Paste INI content and convert it to a structured JSON object. Handles sections and comments. Client‑side only.
Transform a flat JSON object into a dotenv file format instantly. Use it to keep your local configuration in sync. All processing is private and client‑side.
Parse CSV files into structured JSON arrays or objects. Customize delimiters and headers. Processed completely in your browser to protect sensitive data.
Enter a URL and see a nested list of all h1‑h6 tags. Check document structure for SEO and accessibility.
Encode or decode a string for use in a URL query parameter. See the raw and encoded versions. Dev tool.
Shows the decimal and hex code point for every character in a string, including emojis. Copy as array. Dev reference.
Write a JavaScript snippet and get a ready‑to‑drag bookmarklet link. With minification and encoding. Easy browser tools.
Make your JavaScript code more readable with this online beautifier. Format and indent JS automatically. Works entirely in your browser, protecting your code privacy.
Paste code and get a beautifully highlighted preview with line numbers. Supports many languages. Copy as HTML. Pure frontend.
Convert title to URL slug with options: ignore stop words, transliterate special characters, choose separator. SEO friendly.
Paste an SVG and get a ready‑to‑use data URI for CSS backgrounds or img tags. Optimized with URL encoding. All local.
Paste text with \uXXXX or \xXX escape sequences and decode to readable characters. Works for all Unicode planes.
Generate a CSR and private key pair in the browser using the Web Crypto API. Download both as files. No data sent to server.
Create an import map JSON with CDN links. Use bare specifiers like `import React from 'react'` without bundlers.
Write a standard README with pre‑filled sections like Installation, Usage, and License. Export as Markdown. Save time.
Create circular and elliptical clip paths visually. Adjust radius and position. Copy the CSS. For avatars and masks.
Generate a standard otpauth:// URI and QR code for authenticator apps. Set issuer, account, and secret. All local.
Paste an SSL certificate and private key to verify they belong together. Check if a CSR matches a private key. All local crypto.
Write modern CSS color functions like oklch(), lab(), hwb() and see the rendered color with fallback. Copy compatible code.
Paste an SVG path and convert all relative commands to absolute. Also smooth curves to lines. Local parser.
Paste Jira/Confluence wiki markup and get a rendered HTML preview. Supports headings, lists, links, and code blocks. All local.
Write a module and import it. See how browser handles module scripts. Learn modern JS structure.
Minify JavaScript and CSS code to reduce file size for production. Remove whitespace and comments instantly. Run locally, your code stays private.
Paste an SVG and get an optimized, URL‑encoded data URI for use in CSS backgrounds. Reduces file size and escapes characters.
Press any key combination and see the human‑readable shortcut for macOS and Windows. Developer docs helper.
Choose a base style guide (Airbnb, Standard, Google) and add plugins. Generate a ready‑to‑use .eslintrc config.