Paste Anything - Smart Format Detector
Paste any text and instantly detect its format — JSON, JWT, Base64, UUID, SQL, XML, timestamps, colors, and more. Routes you to the right tool automatically.
Paste something to get started
How to Use
- Paste any text, code, token, or data into the input area.
- The detector instantly analyzes your input and identifies matching formats.
- Review the detected types — each shows a confidence level and description.
- Click "Open in [Tool Name]" to jump to the relevant tool.
What Is the Smart Detector?
The Paste Anything detector solves a common developer problem: you have some data — maybe from a log file, an API response, a config dump, or a colleague's message — and you're not sure what format it is. Is that long string Base64? A JWT? A SHA-256 hash? Instead of guessing and trying different tools, paste it here and get an instant answer.
The detector uses pattern matching, structural analysis, and actual parsing to identify formats. It doesn't just look at surface patterns — it tries to parse JSON, decode Base64, validate timestamps, and check hash lengths to give you high-confidence results.
Supported Formats
- JSON — Objects and arrays, with validation and formatting preview
- JWT Tokens — Detects the three-segment Base64url structure and previews the payload
- Base64 — Encoded strings with decode preview when content is readable text
- UUID — v4 and other UUID formats (8-4-4-4-12 hex pattern)
- Unix Timestamps — 10-digit (seconds) and 13-digit (milliseconds) epoch values with date preview
- URL-Encoded Strings — Percent-encoded text with decode preview
- Colors — HEX codes (#fff, #ff5733), RGB, RGBA, HSL, HSLA functions
- SQL Queries — SELECT, INSERT, UPDATE, DELETE, CREATE statements
- XML — Documents starting with <?xml or containing matched element tags
- HTML — Markup with standard HTML element tags
- CSS — Stylesheets with property declarations and selectors
- JavaScript — Code containing function declarations, const/let/var, arrow functions, imports
- YAML — Key-value configurations and documents starting with ---
- Markdown — Headers, links, and list patterns
- Regex Patterns — Slash-delimited regular expressions with flags
- Cron Expressions — 5-field cron schedule patterns
- Cryptographic Hashes — MD5 (32 hex), SHA-1 (40 hex), SHA-256 (64 hex)
- HTML Entities — Named (&) and numeric ({) entity references
Multi-Format Detection
Real-world data often matches multiple formats simultaneously. A Base64 string might decode to valid JSON. A URL might contain percent-encoded parameters. A JWT token is technically three Base64url segments. The detector shows all matching formats ranked by confidence, so you can choose the most relevant interpretation and tool.
Privacy First
All format detection happens entirely in your browser using JavaScript pattern matching and built-in parsing functions. No data is transmitted to any server. This is critical for developers who frequently work with sensitive data like API keys, tokens, and configuration files. Your data stays on your machine. Read more about how all CodeTidy tools protect your privacy.
Common Workflows
Received a mysterious string in a Slack message? Paste it here. Found an encoded value in a log file? Paste it here. Got a blob from an API response and not sure if it's XML or JSON? Paste it here. Once the detector identifies the format, one click takes you to the right tool. You can also use the Pipeline Builder to chain multiple transformations together, or try the JSON Formatter, Base64 Decoder, or JWT Decoder directly if you already know what format you have.
Frequently Asked Questions
- What types of data can it detect?
- The smart detector recognizes 16+ formats including JSON, JWT tokens, Base64 encoding, UUIDs, Unix timestamps, URL-encoded strings, SQL queries, XML, HTML, CSS, JavaScript, YAML, Markdown, regex patterns, cron expressions, hex colors, RGB/HSL colors, HTML entities, and cryptographic hashes (MD5, SHA-1, SHA-256).
- Does my data leave my browser?
- No. All detection happens 100% client-side in your browser using pattern matching and parsing. No data is sent to any server.
- Can it detect multiple types at once?
- Yes! If your input matches multiple formats (for example, a Base64 string that decodes to JSON), the detector shows all matches ranked by confidence level so you can choose the most relevant tool.
- What do the confidence levels mean?
- High confidence means the input strongly matches a known format (e.g., valid JSON that parses correctly). Medium confidence means the input looks like a format but has some ambiguity (e.g., a hex string could be an MD5 hash or just text). Low confidence means a weak pattern match worth investigating.
- How does it differ from the Pipeline tool?
- Paste Anything identifies what you have and routes you to the right tool. The Pipeline Builder chains multiple tools together to transform data through a series of steps. Use Paste Anything when you are not sure what format your data is in; use the Pipeline when you know exactly what transformations you need.
AI agent tools available.
The CodeTidy MCP Server gives Claude, Cursor, and other AI agents
access to 47 developer tools. One command: npx @codetidy/mcp