ITBox user guide
Purpose, steps and tips for every tool
📝 Formatters
JSON Viewer
Purpose:Format, minify, validate and tree-view JSON with error pinpointing.
Steps
- Paste JSON into the left editor
- Pick a view: split / tree / raw
- Click Format or Minify
- Fix any line:column errors shown
Use cases
Debug REST API responses, inspect JSON in logs, diff JSON versions
XML Formatter
Purpose:XML pretty-print, minify and basic syntax check.
Steps
- Paste XML
- Pick Format or Minify
- See errors in the status area
Use cases
Inspect SOAP responses, tidy Maven / Spring configs, check RSS docs
SQL Formatter
Purpose:SQL pretty-print, minify and keyword casing.
Steps
- Paste SQL
- Pick dialect (MySQL / Postgres / Oracle)
- Click Format or Minify
- Toggle keyword casing
Use cases
Review complex JOINs, tidy string SQL in code, restore single-line SQL from logs
HTML / CSS Formatter
Purpose:Pretty-print and minify HTML and CSS.
Steps
- Pick language (HTML or CSS)
- Paste source
- Pick action (format / minify)
- Copy result
Use cases
View minified site source, tidy scaffolded HTML, prepare sample docs
Markdown Preview
Purpose:Live Markdown editor with side-by-side preview.
Steps
- Type Markdown on the left
- Watch live preview on the right
- Copy HTML if needed
Use cases
GitHub READMEs, blog drafts, project docs
JSON Schema Validator
Purpose:Validate JSON against a JSON Schema with field-level error paths.
Steps
- Paste JSON Schema on the left
- Paste data on the right
- See validation results and error paths
Use cases
Verify API responses, lint configs, run API contract tests
Markdown Table Generator
Purpose:Turn rows and columns into a well-formed Markdown table without hand-typing pipes and alignment dividers.
Steps
- Use the toolbar add/remove column and row buttons to size the grid; the first row is the header
- Type into each cell and set per-column left/center/right alignment with the buttons under each header
- Or paste CSV/TSV into the import box (tab vs comma auto-detected) to replace the whole grid at once
- Copy the generated Markdown or download a .md file; the live preview shows the rendered result
Use cases
When writing a GitHub README or docs, organize data in a spreadsheet, paste it into the import box, and get a padded, aligned Markdown table with pipes and newlines inside cells safely escaped.
JSON Diff
Purpose:Pinpoint structural differences between two JSON documents without being misled by object key ordering, down to the exact path.
Steps
- Paste the original JSON on the left and the target JSON on the right (JSON5 lenient syntax accepted)
- Read the summary header: added / removed / changed counts, or an identical notice
- Scan the diff list — each row shows its path (e.g. user.roles[0]) and old→new value
- Tick 'Ignore array order' to match array elements as a multiset when order is irrelevant
Use cases
Compare two versions of an API response payload to instantly spot which field changed, instead of eyeballing line by line.
🔐 Encode & Crypto
Base64 Encode / Decode
Purpose:Encode and decode text, files and images with Base64 (standard / URL-safe / MIME).
Steps
- Pick input type (text or file)
- Enter or upload content
- Pick Encode or Decode
- Copy or download
Use cases
Embed small images in CSS, build JWTs / cookies, debug crypto endpoints
URL Encode / Decode
Purpose:URL encode and decode, handling Chinese and special characters.
Steps
- Paste URL or parameter text
- Pick Encode or Decode
- View the result
Use cases
Debug GET requests with Chinese params, tidy URLs in logs, build URLs with special chars
Hash Generator
Purpose:Compute MD5, SHA1, SHA256 and SHA512 digests over text or files.
Steps
- Pick input type (text or file)
- Paste text or upload file
- View digests for every algorithm
- Toggle casing and copy
Use cases
Verify downloads, generate signing digests, debug server-side password hashing
UUID Generator
Purpose:Bulk-generate UUID v4 with configurable case and hyphens.
Steps
- Set count
- Toggle case and hyphens
- Click Generate
- Copy all
Use cases
Seed test data, fill database PKs, make temporary IDs
JWT Decoder
Purpose:Decode JWT into Header, Payload, Signature with pretty-printed JSON.
Steps
- Paste a JWT
- See the three decoded sections
- Check claims and expiry in Payload
Use cases
Debug OAuth / SSO, verify claims, troubleshoot login sessions
AES / DES Crypto
Purpose:AES / DES symmetric encrypt and decrypt with multiple modes and paddings.
Steps
- Pick algorithm (AES / DES)
- Pick mode (ECB / CBC ...)
- Enter plaintext / ciphertext and key
- Encrypt or Decrypt
Use cases
Debug server-side crypto APIs, analyse captured traffic, build crypto test cases
Password Generator
Purpose:Quickly create unbiased, unpredictable high-strength passwords for sign-ups, database credentials, API keys and more.
Steps
- Set the length (4–64) and how many passwords to generate (1–20)
- Pick the character sets to include — uppercase / lowercase / digits / symbols — and optionally exclude ambiguous characters
- Click Generate, then copy each password or copy all, using the entropy strength bar to gauge security
Use cases
When setting a database root password, enable symbols and push the length past 20 so the strength bar reaches "Very strong," then copy it straight into your password manager.
Unicode Converter
Purpose:Read and write Unicode escape sequences found in source code, config and data files by converting between human-readable text and escaped code points.
Steps
- Pick the mode: Text → Escaped or Escaped → Text
- For escaping, choose a style (\uXXXX / ES6 / &#x; / &# / \xHH) and toggle Only non-ASCII as needed
- Paste input on the left and read the live, copyable result on the right
Use cases
When a Java properties or JSON file contains escapes like \u4F60\u597D, switch to Escaped → Text to instantly restore the readable characters.
HTML Entities
Purpose:Turn characters that would break HTML or render as mojibake into safe entity references, or restore entity-laden source back to readable text.
Steps
- Pick Encode or Decode mode
- Paste text on the left; the result updates live on the right
- For encoding, choose named / decimal / hex format and toggle escaping of all non-ASCII
- Click the copy button to grab the output
Use cases
Encode user-supplied nicknames, rich text, or code snippets containing < > & before injecting them into an HTML template to prevent XSS and broken markup.
🔄 Converters
Timestamp Converter
Purpose:Convert between Unix timestamps and date-times (seconds / ms, any timezone).
Steps
- Enter timestamp or date
- Pick seconds or milliseconds
- Pick timezone
- View result or click Now
Use cases
Investigate timestamps in logs, debug createTime fields, generate test dates
YAML / JSON Converter
Purpose:Convert between YAML and JSON in both directions.
Steps
- Paste YAML or JSON
- Pick direction
- View output
- Errors show line numbers
Use cases
Swap K8s YAML / JSON, paste YAML into API tests, tidy Helm values
Radix Converter
Purpose:Convert numbers freely between binary, octal, decimal and hex.
Steps
- Enter a number
- Pick source radix
- See all target radices
Use cases
Embedded register bits, binary protocol analysis, CTF challenges
Color Converter
Purpose:Convert between HEX, RGB and HSL with a color picker and live swatch.
Steps
- Enter a color or use the picker
- See all three formats
- Copy the one you need
Use cases
Match design colors, debug CSS theme variables, design palettes
Properties / YAML
Purpose:Convert between Spring Boot properties and YAML.
Steps
- Paste .properties or YAML
- Pick direction
- View output
Use cases
Migrate Spring Boot configs, unify config style, paste tutorial configs
Naming Converter
Purpose:Convert between camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
Steps
- Paste identifiers (one per line for batch)
- See every target style
- Copy what you need
Use cases
DB columns to Java / Go variables, sync frontend / backend names, bulk rename
Chinese → Pinyin
Purpose:Convert Chinese to pinyin (full, initials, with tones, polyphones).
Steps
- Paste Chinese text
- Pick output (full / initials / with tones)
- See the result
Use cases
URL slugs, sort Chinese names, SEO-friendly links
XML / JSON Converter
Purpose:Convert between XML and JSON, preserving attributes, text nodes and namespaces.
Steps
- Paste XML or JSON
- Pick direction
- View result
Use cases
Land SOAP responses, integrate legacy XML APIs, migrate configs
Date Calculator
Purpose:Add or subtract days / months / years, or compute date differences.
Steps
- Pick Add / Subtract or Difference
- Enter dates and amounts
- View result
Use cases
Contract expiry, project timelines, business days to deadline
CSV ⇄ JSON
Purpose:Convert tabular CSV to structured JSON and back, moving data between spreadsheets and code or APIs.
Steps
- Pick the direction: CSV → JSON or JSON → CSV
- Choose the delimiter and toggle the header option
- Paste or load the sample to see live output
- Copy the result or download data.json / data.csv
Use cases
Drop a CSV exported from Excel and instantly get a JSON array ready to POST to an API.
RMB Capital Amount
Purpose:For invoices, contracts and cheques, instantly turn a numeric amount into the tamper-resistant Chinese capital form and avoid hand-writing mistakes.
Steps
- Type the amount (decimals and a leading minus are allowed); it rounds to 2 places
- Read off the capital form, the grouped amount and the normalized plain amount live
- Copy the capital text straight into your invoice or contract
Use cases
When filling in a contract amount, enter the figure and copy the capital line — zero/整/角/分 spacing follows financial rules, so cases like 壹万零壹元整 come out correct automatically.
Unit Converter
Purpose:Convert between six common unit categories and view every target unit's result at once.
Steps
- Pick a category (Data / Time / Length / Weight / Temperature / Area)
- Enter a value and choose the source unit
- Read all converted units in the table and copy any with its button
Use cases
When debugging disk or bandwidth numbers, compare GB against GiB side by side to avoid decimal-vs-binary capacity mismatches.
📋 Text
Regex Tester
Purpose:Live regex match / replace with highlighting and a template library.
Steps
- Enter a regex
- Paste target text
- See highlights and groups
- Switch to Replace preview
Use cases
Extract data from logs, validate forms, bulk replace
Text Diff
Purpose:Diff two pieces of text by character / word / line with highlights.
Steps
- Paste original on the left
- Paste comparison on the right
- Pick granularity (line / word / char)
- See highlighted diff
Use cases
Compare configs, review doc edits, audit pasted code
Dedupe / Sort
Purpose:Per-line dedupe, sort, reverse, trim — batch process multi-line text.
Steps
- Paste multi-line text
- Pick op (dedupe / sort / reverse / trim)
- View result
Use cases
Tidy email / ID lists, clean log data, build sorted reference data
Character Counter
Purpose:Live count of characters, words, lines and bytes (UTF-8).
Steps
- Paste or type text
- All metrics update live
Use cases
Hit word limits, check essay caps, profile log lengths
Placeholder Replace
Purpose:Replace ${var} placeholders in a template using a variables table.
Steps
- Enter template with ${var}
- Fill the variables (one row per record)
- Click Replace
- See all rendered results
Use cases
Bulk-generate SQL, personalised emails, structured test data
Log Masking
Purpose:Auto-detect phones, IDs, bank cards, emails and mask them.
Steps
- Paste a log or text
- Pick which field types to mask
- View masked result
- Customise mask char if needed
Use cases
Sanitise prod logs before sharing, file 3rd-party issues, audit compliance
String Escape
Purpose:Safely embed text with special characters into code string literals, or restore escaped text back to its original form.
Steps
- Pick the target language (JSON / Java / JS / SQL / C/C++ / Shell)
- Toggle Escape or Unescape mode
- Paste text on the left and copy the live result on the right
Use cases
Handy when pasting a multiline SQL query or a quoted JSON snippet into a source-code string literal.
🛠 Dev helpers
Cron Expression
Purpose:Explain a Cron expression and preview the next N firing times.
Steps
- Enter a Cron expression (5 or 6 fields)
- See each field's meaning
- Preview the next 10 runs
Use cases
Author K8s CronJob / Quartz, debug missing triggers, cross-timezone schedules
HTTP Client
Purpose:Lightweight in-browser HTTP debugger, like a mini Postman.
Steps
- Pick method (GET / POST ...)
- Enter URL
- Fill Header / Query / Body
- Click Send
Use cases
Verify backend APIs, debug webhooks, demo API calls
SQL → Entity
Purpose:Parse CREATE TABLE into a Java POJO / Lombok / JPA entity.
Steps
- Paste CREATE TABLE
- Tick annotations (Lombok / JPA)
- Copy the generated class
Use cases
Scaffold POJOs from new tables, accelerate backend coding, start from DBA SQL
MyBatis Log → SQL
Purpose:Re-assemble MyBatis Preparing / Parameters into executable SQL.
Steps
- Paste the Preparing line
- Paste the Parameters line
- Click Restore
- Copy executable SQL
Use cases
Reproduce slow SQL, run log SQL in DB clients, debug ORM param binding
IP Calculator
Purpose:Compute network / broadcast addresses and host count from IP + mask / CIDR.
Steps
- Enter IP and mask (or CIDR)
- See all derived addresses
Use cases
Plan intranet subnets, troubleshoot routing, teach IP math
Lombok Generator
Purpose:Bulk-add Lombok annotations ({'@'}Data, {'@'}Builder ...) to an existing Java class.
Steps
- Paste Java source
- Tick desired annotations
- View the updated class
Use cases
Modernise legacy POJOs, drop hand-written getters / setters, unify team style
Mock Data Generator
Purpose:Generate fake names / emails / phones in bulk, export as JSON / SQL / CSV.
Steps
- Define fields (name + type)
- Set row count
- Pick export format
- Generate and copy or download
Use cases
Seed test DB, mock API data, demo data
JSON → SQL
Purpose:Turn a JSON array into INSERT / REPLACE statements.
Steps
- Paste a JSON array
- Set target table name
- Pick INSERT or REPLACE
- View SQL
Use cases
Seed initial DB data, replay log data, ingest 3rd-party API data
QR Code
Purpose:Encode text / URL / Wi-Fi into a QR, or decode from an uploaded image.
Steps
- Pick Generate or Decode
- Enter text or upload image
- Tune size / EC level / colors
- Download PNG or copy decoded text
Use cases
QRs on business cards / posters, event sign-in, decode unknown QRs
JSON to Types
Purpose:Turn a sample JSON payload into strongly-typed data models, skipping the tedious hand-writing of interfaces, structs and POJOs.
Steps
- Paste JSON (JSON5 and trailing commas allowed) into the left editor
- Pick a target language and set the root type name
- Toggle 'null values to optional / nullable' if desired
- Read and copy the generated code on the right
Use cases
When wiring up a third-party API, paste one real response to instantly get the TypeScript interface, then drop it straight into your project.
HTTP Status & MIME Cheat-Sheet
Purpose:Look up what an HTTP status code means or which MIME type a file extension maps to while building APIs, debugging requests, or setting response headers — no docs needed.
Steps
- Switch between the HTTP Status and MIME Types tabs
- Type a code, name, extension, or keyword to filter live
- Read the color-coded badge to spot the status class at a glance
- Click any row to copy the 'code name' or the MIME type
Use cases
When configuring Nginx or backend headers, search .woff2 and copy font/woff2 so browsers stop rejecting fonts served with the wrong MIME type.
curl to Code
Purpose:Developers often receive a curl command (from API docs, packet capture, or a teammate) and need to port it into their project's language. This tool parses and generates code entirely in the browser, sparing the tedious manual translation of headers and body.
Steps
- Paste a curl command into the input, or click Sample to load a multi-header POST example
- Pick the target language from the segmented control: Fetch / Axios / Python / Go / Java
- The equivalent request code is generated live on the right — hit Copy to grab it
Use cases
In browser DevTools' Network panel, right-click a request and choose 'Copy as cURL', then paste it here to instantly get Python requests code for an automation script.
JSONPath Tester
Purpose:Debug JSONPath expressions live in the browser to extract fields or filter arrays out of complex JSON
Steps
- Paste JSON (JSON5 comments and trailing commas allowed), or load the classic store sample
- Type a JSONPath expression, or click an example chip to fill it in
- Matched values and the hit count appear instantly on the right — copy with one click
- Parse or expression errors are shown below with the exact message
Use cases
Paste an API response and use an expression like $..author to quickly pull deep fields and confirm the data meets your expectation
.gitignore Generator
Purpose:Quickly assemble a multi-stack .gitignore for a new repo, automatically merging and de-duplicating patterns.
Steps
- Search and check the stacks you use (e.g. Node, Python, macOS)
- Optionally click 'Select common' to add editor/OS rules like macOS, Windows, IDEA and VSCode
- Review the merged, de-duplicated output and copy or download it as .gitignore
Use cases
Starting a Vue project? Check Vue/Vite + JetBrains + macOS + Windows so junk files from every teammate's OS are ignored.
UA Parser
Purpose:A User-Agent is the identity string a browser or client reports in every HTTP request header. It is loosely formatted and hard to read. This tool parses it locally with regex so you can instantly see the browser, engine, OS and device.
Steps
- Paste a User-Agent string, or click "Use my UA" to auto-fill your current browser's UA
- Or click a sample (Chrome / Safari / Firefox / Googlebot / Edge) to experiment quickly
- Read the browser, engine, OS, device type and CPU arch in the parsed result
- Hit copy to grab the summary text (raw UA plus each parsed field)
Use cases
When investigating a suspicious request in your access logs, paste its UA string here to instantly tell whether it's a real browser, a mobile device, or a crawler/bot.