# Stackbench Canonical page: https://bench.in-stacks.com/en/ Free browser-based tools for developers, marketers and everyday work. Every tool runs in the visitor's browser, so nothing typed or dropped into a tool is uploaded, and there is nothing to sign up for. ## Structure - [Stackbench tools](https://bench.in-stacks.com/en/tools.md): all 24 tools, grouped by category, with what each one does, how to use it and common questions. - [Stackbench guides](https://bench.in-stacks.com/en/guides.md): 20 short articles on the problems these tools solve. - [About Stackbench](https://bench.in-stacks.com/en/about.md): who runs the site, how it is funded and what it does with data. ## Categories - Developer tools (12 tools): Everyday utilities for people who work with data and code. https://bench.in-stacks.com/en/tools/developer/ - SEO & marketing (3 tools): Ship cleaner metadata and catch mistakes before launch. https://bench.in-stacks.com/en/tools/seo/ - Everyday utilities (9 tools): Quick fixes for images and files, with no upload step. https://bench.in-stacks.com/en/tools/utility/ ## Agent access These documents describe the public website. They are not an API, a data export or a live feed, and they give an agent no permission to act for a user. The tools run in the visitor's own browser, so an agent cannot run them on the user's behalf: explain which tool fits the task and link to its page. Check the live pages for anything that may have changed. --- # Stackbench tools Canonical page: https://bench.in-stacks.com/en/tools/ Every tool on the site, grouped by category. Each one runs in the visitor's browser. ## Agent access These documents describe the public website. They are not an API, a data export or a live feed, and they give an agent no permission to act for a user. The tools run in the visitor's own browser, so an agent cannot run them on the user's behalf: explain which tool fits the task and link to its page. Check the live pages for anything that may have changed. ## Developer tools Formatters, encoders and validators for JSON, text and data. Nothing is sent to a server, so it is safe for production payloads. Page: https://bench.in-stacks.com/en/tools/developer/ ### JSON Formatter & Validator Page: https://bench.in-stacks.com/en/tools/developer/json-formatter/ Paste JSON to format, minify or validate it, with the exact line and column of any syntax error. Works offline and never uploads your data. Validates your input with a real parser, pretty-prints it with the indent you choose, and reports syntax errors with a line and column number instead of a vague message. **How to use** 1. Paste JSON into the input box, or drop a .json file onto it. 2. Pick an indent width, then use Format to pretty-print or Minify to strip whitespace. 3. Read the status line: a green check means the document parsed, a red message points at the exact line and column. 4. Use Sort keys to make two documents diffable, then Copy to clipboard or Download the result. **Common questions** - Is my JSON sent to a server? No. Parsing happens with the JSON engine already built into your browser, so the text never leaves the page. That makes it safe to format config files and API responses containing credentials. - Why does it reject JSON that looks correct to me? JSON is stricter than JavaScript object literals: no trailing commas, no comments, keys must be double-quoted, and NaN or Infinity are not allowed. The error message tells you the line and column where parsing stopped. - Can it handle very large files? Files in the low megabytes format comfortably. Parsing keeps the whole document in memory, so a multi-hundred-megabyte dump is better handled by a streaming command-line tool. **Guides** - [Why your JSON is invalid: 7 rules that trip people up](https://bench.in-stacks.com/en/guides/invalid-json/) ### Unix Timestamp Converter Page: https://bench.in-stacks.com/en/tools/developer/timestamp-converter/ Convert a Unix timestamp to dates across time zones, or a date back to seconds and milliseconds. The assumed unit is always shown. Runs in your browser. Paste a Unix value and read it as local time, UTC, ISO 8601 with offset, RFC 2822 and a relative description. Or pick a clock time plus a time zone and get the seconds and milliseconds back. **How to use** 1. Type or paste a Unix value into the Unix timestamp field and press Convert. Values up to 11 digits are read as seconds and 12 to 13 digits as milliseconds, and the badge above the table says which one was used. 2. Press Now to stamp the current instant, then read the results table: local time with your zone name, UTC, ISO 8601 with offset, RFC 2822, a relative description and four preset zones. 3. Press Copy on any row to put just that representation on the clipboard, and watch the ticking distance-from-now line under the table. 4. For the other direction, set the date and time field, choose the time zone from the dropdown (it starts on your own zone) and press Get timestamp to read Unix seconds and milliseconds. **Common questions** - Which time zone applies to a Unix timestamp? None. A Unix timestamp is a single instant counted from 1970-01-01T00:00:00Z, so it is identical everywhere; only its rendering changes. This tool renders it through the Intl API with an explicit timeZone for each row, so daylight-saving rules come from the browser database instead of a hand-written offset that would be wrong twice a year. - What happens during a daylight-saving change? When you convert a clock time back to a timestamp, the selected zone decides the answer. A spring-forward gap such as 02:30 on the switch day never existed in that zone, so the tool warns you and shows the closest real instant instead of silently inventing one. - Is it 1700000000 seconds or milliseconds? Ten digits, so seconds. Anything up to 11 digits is treated as seconds and 12 or 13 digits as milliseconds, and the assumed unit is displayed next to the value so you can catch a wrong guess. Longer input, such as a 19-digit nanosecond value, is rejected with the accepted range explained. **Guides** - [Unix timestamp mistakes: units, timezones, and the 1970 bug](https://bench.in-stacks.com/en/guides/unix-timestamp-mistakes/) ### UUID Generator Page: https://bench.in-stacks.com/en/tools/developer/uuid-generator/ Make 1 to 1000 UUIDs locally with the browser CSPRNG, including time-ordered v7 per RFC 9562. Copy the list or download a .txt. Nothing leaves your device. Random v4 ids, sortable v7 ids and the all-zero NIL value, generated in your own tab from crypto.getRandomValues, with toggles for case, hyphens and the urn:uuid: form. **How to use** 1. Set how many ids you need in the How many field (1 to 1000; anything outside that is clamped and the status line tells you) and pick a version from the Version dropdown: v4 random, v7 time-ordered, or NIL. 2. Press Generate. The plain list appears in the Output pane without line numbers, so it pastes straight into code. 3. Adjust the Uppercase, Hyphens and Wrap as URN toggles to re-spell the same ids; the URN form keeps its hyphens, so that toggle is disabled while it is on. 4. Press Copy to take the list with you, Download .txt to save it as uuids.txt, or Clear to empty the pane. **Common questions** - Are these UUIDs safe to use as production keys? The v4 and v7 values here are built from crypto.getRandomValues, the CSPRNG your operating system exposes to the browser, so they are not seeded from a clock or a weak pseudo-random generator. Each v4 carries 122 bits of randomness and each v7 carries 74. Collisions are a matter of probability, not of a weak generator; the status line names the entropy source so you can check. - Why does generating locally matter? A key is only secret until it has been somewhere else. Online generators that build the id on a server put your identifiers, your table names and often your traffic in someone else’s logs. This page makes no request at all: the ids exist in your tab and nowhere else, and nothing is written to storage except your own display preferences. - When should I pick v7 instead of v4? Choose v7 when the ids are a primary key. Its first 48 bits are the creation time in milliseconds, so new ids sort after old ones and a B-tree index stops jumping around the table; this tool also bumps the random field inside one millisecond, so a batch of v7s is strictly increasing. Choose v4 when nothing sorts by id, and NIL only as a placeholder. **Guides** - [UUID v4 vs v7: which one to use, and what v7 gives away](https://bench.in-stacks.com/en/guides/uuid-v4-v7-which-to-use/) ### JWT Decoder Page: https://bench.in-stacks.com/en/tools/developer/jwt-decoder/ Paste a JSON Web Token to inspect its header and payload, with exp, iat and nbf shown as real dates. UTF-8 safe, so Chinese claims stay readable. Split a token into its three parts, base64url-decode the header and payload, list every claim and tell you whether the time claims look sane. The signature is never checked, and the page says so throughout. **How to use** 1. Paste the token into the Token box, with or without a leading Bearer prefix; a decode starts as soon as you paste. 2. Press Decode and read the two tables: Header claims and Payload claims, where exp, iat and nbf also show your local date-time with the zone name and a relative note such as expired 5 minutes ago. 3. Check the status line for the verdict and the reason it gives, and scroll the Payload JSON pane on the right to see the whole claim set before pressing Copy payload JSON. 4. No token yet? Press Create a sample token to load a demo whose header says alg none, then Clear to start over. **Common questions** - Does this verify my token? No, and it cannot. Verification needs the signing secret or public key, and a decoder that accepts a key would encourage the wrong habit. This tool only base64url-decodes the header and payload, which anyone holding the string can do. Use the alg and kid claims to know what algorithm you are supposed to check, then verify the signature in your server with the real key. - Why is my Chinese claim garbled in other decoders? Because most naive decoders call atob, which yields one character per byte and destroys anything built from multi-byte UTF-8, turning a name such as 张三 into mojibake. Here the decoded bytes are handed to new TextDecoder with utf-8, so CJK claims, emoji and accents come out intact. - What do the exp, iat and nbf verdicts mean? exp is the expiry instant, iat when the token was issued and nbf the moment it becomes valid. The status line reports ok when exp is still ahead and nbf has passed, err when the token is expired, and warn when there are no time claims to judge, or when exp is missing so the token never expires. All of that is a reading of the numbers, not proof they were signed. **Guides** - [JWT decode vs verify: what a readable token does not prove](https://bench.in-stacks.com/en/guides/jwt-decode-vs-verify/) ### Regex Tester & Regular Expression Validator Page: https://bench.in-stacks.com/en/tools/developer/regex-tester/ Test a regular expression on your own text with live match highlighting, capture groups, flag toggles and a replacement preview. Nothing uploaded. Type a pattern between the / / delimiters and every match highlights in place as you write: the g i m s u y flags sit on toggles, each hit is listed with its numbered and named capture groups, and the String.replace output is ready to copy. **How to use** 1. Type the expression body into the Pattern field — the surrounding slashes are only shown for readability, so do not type them — then press Load sample for a realistic set of log lines with a pattern that already matches them. 2. Flip the g, i, m, s, u and y toggles. Each one shows its letter, and the helper line under the row spells out what the active flags change; your selection is remembered for the next visit. 3. Read the Highlighted preview and the ^ line:column ruler below the Test subject, then check the Matches table: one row per hit with its index, matched text and capture groups, where (not matched) marks a group that did not participate. 4. Fill in Replacement to see the replaced output, press Escape special characters to quote the metacharacters in your current selection, then Copy the result or Clear to start over. **Common questions** - Why does my regex work here but not in my code? This page runs the ECMAScript engine already built into your browser, which is not PCRE or Python. Concretely: \d, \w and \s are ASCII-only, so Chinese or accented text needs \p{L} with the u flag; $ matches only the very end, not the position before a trailing newline the way Python does; (?…) and \k are the group syntax, while (?P) from Python is an error here; and a pattern copied with its // delimiters stops matching anything. In Python source, remember the string literal eats backslashes, so use a raw string: r"\d+". - Why does it match nothing? Three usual causes. First, the flags: without m, ^ and $ only bound the whole subject, so a pattern tested line by line elsewhere fails on a multi-line paste; without g you only ever see one hit. Second, greediness: .* eats as much as still lets the rest match, so "<.*>" on two tags swallows everything between them — use "<.*?>" or, better, "[^>]*". Third, precedence: alternation binds loosest, so cat|dog food matches cat anywhere. When the syntax itself is wrong the status line shows the engine message plus a hint, and a pattern that matches everywhere is capped rather than left to freeze the page. - Is my pattern or text sent anywhere? No. Matching, highlighting and replacement all happen inside this page using your browser’s own regex engine — there is no runtime dependency and no network call, so you can verify it by disconnecting after the page loads. That makes it safe to test expressions against log files or payloads that contain real addresses and tokens. **Guides** - [Why your regex works in the tester but fails in your code](https://bench.in-stacks.com/en/guides/javascript-regex-dialects/) ### Hash Generator & Checksum Calculator Page: https://bench.in-stacks.com/en/tools/developer/hash-generator/ Hash text or a file and get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once in hex and Base64. Computed locally in your browser, nothing is uploaded. Type text or drop a file, press Compute and every algorithm returns in one table: hex and Base64 side by side, each row with its own copy button, so a checksum you only know in one notation is still easy to compare. **How to use** 1. Pick the source: leave it on Text and type or paste the string — the five rows recompute themselves about a quarter of a second after you stop typing — or switch to File and choose one, which you can also drop straight onto the right-hand box. 2. Press Compute when you want the digests right now. The table fills with five rows, and the status line tells you how many bytes they were taken over, which is the first thing to check when a checksum does not match. 3. Compare against the value you expected in whichever notation you have: hex for most published checksums, Base64 for SRI-style and binary ones. Press Copy on that row to take the value out. 4. To start over, press Clear, or switch source — the choice between Text and File is remembered for your next visit. **Common questions** - Which algorithm should I use? For a new checksum, use SHA-256: it is the current default, widely supported, and the value is short enough to paste into a config file. SHA-384 and SHA-512 are stronger but rarely needed and produce longer strings. MD5 and SHA-1 only make sense when you are verifying a digest somebody else already published, because both have known collision attacks — do not use them to prove a file is genuine in an adversarial situation, and never use any of these fast hashes to store passwords. Password hashing needs a deliberately slow, salted function such as Argon2id, scrypt, bcrypt or PBKDF2; SHA-256 is designed to be as fast as possible, which is exactly the wrong property there. - Why does it say the SHA digests are unavailable? The SHA family comes from your browser’s Web Crypto API, and that API only works on a secure origin — https:// or localhost. On a plain http:// address the browser switches it off, so the page still gives you MD5 (that one is computed by code in this page, not by the API) and tells you the rest are blocked. Open the page over https://, or use it on localhost while developing, and all five rows fill in. - Is my file uploaded to a server? No. The file is read into memory by your browser and digested here; the page makes no network request with your content, so you can confirm it by disconnecting after the page loads and computing again. The trade-off is memory rather than privacy: files above roughly 25 MB are read in one go, so the tool warns you first and asks for a second press of Compute. Very large archives can be slow or fail in a browser tab, where a command-line hash utility is the better tool. **Guides** - [MD5, SHA-1 and SHA-256 checksums: why yours does not match](https://bench.in-stacks.com/en/guides/md5-sha-checksums-explained/) ### Text Diff & Line Compare Page: https://bench.in-stacks.com/en/tools/developer/text-diff/ Compare two texts line by line with unified and side-by-side views, added and removed counts, visible whitespace and a copyable diff. No uploads. Put the original on the left and the changed version on the right, then compare: unchanged runs collapse, the changed regions stay in both views, and trailing spaces and tabs are drawn so a line that looks identical still explains why it is marked. **How to use** 1. Paste the earlier text into Original and the newer one into Changed, or press Load sample to see the two views filled with a realistic config file first. 2. Press Compare. The unified view lists every line with a +/- marker and collapses long runs of identical content into an expandable “unchanged lines hidden” row; press Swap sides if you pasted them the other way round. 3. Switch to Side by side to read the same changes as two aligned columns, old next to new, with a few lines of context around each changed region and (no matching line) where one side has nothing to pair with. 4. Check the badges for added, removed, unchanged and similarity, toggle Ignore trailing whitespace if the difference is only spacing, then press Copy diff to take out the unified text. **Common questions** - Why is a line marked as changed when both sides look identical? Almost always invisible whitespace. Trailing spaces, a tab where the other side uses four spaces, or a missing final newline all change a line without changing how it looks. The tool draws trailing spaces as · and tabs as →, so the difference becomes visible, and when only the last line differs because one file ends with a newline and the other does not, it says so explicitly (\ No newline at end of file). If you want that difference ignored, tick Ignore trailing whitespace and compare again. - Does it compare lines, words or characters? Lines. Each side is split at newlines and the two lists are aligned optimally, so a changed sentence in the middle of a long paragraph shows as that whole line being removed and re-added rather than just the words inside it. That is the same granularity git diff uses, and Copy diff outputs the same +/- rows, per-side line numbers and @@ hunk headers — but no --- / +++ file header, no rename or binary detection, so the result reads well in a commit message or review comment rather than being a patch git apply can consume. For prose where you care about the words, split the text into shorter lines first — one sentence per line diff far more usefully than one long paragraph per line. - How much text can I compare, and is it sent anywhere? Each side may hold up to 4000 lines; beyond that the tool refuses and asks you to paste only the section you care about, because an entire file is rarely what you wanted to read. It also caps how much it aligns at once, so a change at the very top and another at the very bottom of a large paste reports that the span is too wide instead of freezing the page. The copied diff is cut off above 200,000 characters with a marker saying so. Nothing leaves your machine: alignment runs in this page with no dependency and no upload, which is what makes it safe to diff dumps and configs containing real credentials. **Guides** - [Why a text diff flags lines that look identical: line endings, whitespace and invisible characters](https://bench.in-stacks.com/en/guides/text-diff-line-endings-whitespace/) ### Markdown Viewer & Exporter Page: https://bench.in-stacks.com/en/tools/developer/markdown-exporter/ Preview Markdown live and export it as PNG, JPG, WebP, SVG, PDF or HTML at any size, with a page margin and a choice of themes like GitHub. No upload. Write or open Markdown and see it rendered exactly as it will be saved. Choose a theme (GitHub, Dracula, Nord, Solarized and more), a size from phone width to A4 pages or a 16:9 slide, set the page margin, then export to the format you need — all inside your browser. **How to use** 1. Type or paste Markdown on the left, press Open .md file, or drop a file onto the box; Load sample fills it with a report that uses headings, lists, a table and code. 2. Pick a theme, font and font size, then choose a Page size: a fit-content width, a fixed page such as A4, Letter, square or social card, or a custom width and height. 3. Set the page margin, the space between the text and the edge of the page. The preview updates as you change it, and dashed lines mark page breaks on fixed-height sizes. 4. Choose a format (PNG, JPG, WebP, SVG, PDF, HTML or the Markdown source), set the pixel density, then press Export — or Copy as image to paste the first page straight into a chat or document. **Common questions** - Is my Markdown uploaded anywhere? No. Parsing, layout and export all run in this page. The only network requests are ones you ask for yourself, such as an image link inside your Markdown that the page fetches so it can be embedded in the export. - What happens when the text is longer than the page size I picked? On a fit-content size the image simply grows taller. On a fixed size such as A4 or 1080 × 1080 the content continues onto further pages: images are saved as numbered files, a PDF gets one page each, and the preview marks every break. If you would rather have one tall picture, switch to a fit-content size or a custom height of 0. - Why is an image in my Markdown shown as a dashed label? To save a picture or SVG, the browser must embed every image, and it can only read a remote image if that site allows cross-origin access. Images that do not are shown as labelled placeholders instead of silently missing. Use a data: URL, or host the image somewhere that allows CORS. Raw HTML in the Markdown is shown as text rather than executed, so exports are safe to share. **Guides** - [Markdown to PDF in the browser: image PDF vs text PDF, page size, margins and page breaks](https://bench.in-stacks.com/en/guides/markdown-to-pdf-image-print/) ### Base64 Encoder & Decoder Page: https://bench.in-stacks.com/en/tools/developer/base64-converter/ Encode or decode Base64 with Chinese, emoji and accented text handled correctly. Standard, URL-safe and MIME variants, files and data: URLs. No upload. Text is turned into UTF-8 bytes before it is encoded, so non-English input never throws or comes back garbled. Decoding accepts standard, URL-safe and line-wrapped Base64 automatically and tells you exactly what is wrong when the input is not valid. **How to use** 1. Choose Encode or Decode, then type or paste into the input box — or switch the source to File and pick a file, which is read in your tab and never uploaded. 2. When encoding, pick the variant: standard with = padding, base64url (- and _, no padding) or MIME with 76-character lines. Decoding reads all three on its own. 3. Read the result and the size note: the status line states how many bytes went in, how many characters came out and whether decoding the result again returns your input exactly. 4. Use Copy result, Download .txt, or Wrap as data: URL to embed an image or file. If decoded bytes are not text, a hex byte view is shown instead of garbage. **Common questions** - Why does btoa fail on Chinese or emoji? The built-in btoa only accepts characters whose code is below 256, so anything outside Latin-1 throws an error, and a naive workaround returns mojibake when decoded. This tool encodes the text to UTF-8 bytes first and puts those bytes through Base64, then reverses the same steps, so any text survives the round trip. - What is the difference between standard, base64url and MIME? They share the same data; only the spelling differs. Standard uses + and / with = padding. base64url swaps them for - and _ and drops the padding so the value is safe in URLs and JWTs. MIME is standard Base64 broken into lines of 76 characters, as used in email. Output is always about 4/3 the size of the input. - Is my text or file uploaded? No. Both directions run in this tab using the browser’s TextEncoder and TextDecoder, and a file is read into memory locally. Only your three option choices are remembered on this device. Base64 is encoding, not encryption, so do not treat it as a way to hide secrets. **Guides** - [Base64 and UTF-8: why btoa fails on Chinese and what mojibake means](https://bench.in-stacks.com/en/guides/base64-utf8-pitfalls/) ### URL Encoder & Decoder Page: https://bench.in-stacks.com/en/tools/developer/url-encoder/ Percent-encode or decode text and links with encodeURIComponent, encodeURI or form (+) rules. Handles Chinese and emoji and explains bad sequences. Choose Encode or Decode and a method, and the result appears as you type. It explains why a decode fails instead of just saying malformed, warns about double encoding, and breaks a full link into scheme, host, path and decoded query parameters. **How to use** 1. Pick Encode or Decode, then choose the method: Component (encodeURIComponent) for a single value, Whole URL (encodeURI) to keep : / ? # & =, or Form to turn spaces into +. 2. Paste your text or link into the left box. The result on the right updates live, and Load sample shows a link containing Chinese text. 3. Read the status line: it states how many escapes were converted and warns when the input is already encoded or a result still contains escapes from double encoding. 4. Check Parts of the link for the scheme, host, decoded path and a table of query parameters, then Copy result, or press Use result as input to chain another step. **Common questions** - What is the difference between encodeURIComponent and encodeURI? encodeURIComponent escapes everything that is not a letter, digit or - _ . ! ~ * ' ( ), including : / ? # & =, so it is the right choice for one value placed inside a query string. encodeURI keeps those separators and is for a whole address where only spaces and non-ASCII characters need escaping. Using encodeURI on a value that contains & or = silently breaks the query. - Why does decoding fail with a malformed error? Either a % is not followed by two hexadecimal digits, or the escaped bytes are not valid UTF-8 — often text that was encoded in GBK or another character set. The tool tells you the position and which of the two it is. Turn on Keep invalid sequences to decode everything else and leave the bad parts as they are. - When should spaces be %20 and when +? In a URL path always use %20. The + for a space belongs only to form-encoded query strings (application/x-www-form-urlencoded), so choose Form when you build or read that format. Decoding in Form mode also turns + back into a space, while the other modes keep a literal +. **Guides** - [encodeURIComponent vs encodeURI, and where %2520 and "URI malformed" come from](https://bench.in-stacks.com/en/guides/url-encoding-component-vs-uri/) ### Markdown to HTML Converter Page: https://bench.in-stacks.com/en/tools/developer/markdown-to-html/ Convert Markdown to clean HTML with tables, task lists and heading ids. Choose how raw HTML is handled, wrap a full document, minify, copy or download. Write or open Markdown and get HTML source you can paste into a page, an email template or a CMS, with a sandboxed live preview next to it. You decide what happens to raw HTML, whether headings get ids and whether links open in a new tab. **How to use** 1. Type or paste Markdown, press Open .md file, or drop a file onto the box. Load sample fills a short example with a table and a code block. 2. Set the options: GitHub-flavoured extras, line breaks as
, heading ids, new-tab links, and what to do with raw HTML written in the Markdown — show it as text, keep it, or remove it. 3. Turn on Wrap in a complete HTML document for a standalone file, add the small stylesheet if you want it readable on its own, and use Minify to shrink the output. 4. Switch between HTML source and Preview, then Copy HTML or Download .html. **Common questions** - Is raw HTML in my Markdown safe? By default it is shown as text, which is the safest choice. Keep it as HTML only for Markdown you wrote or trust: it is copied into the result exactly as written, including scripts. Links and images with unsafe schemes such as javascript: are always removed, and the preview runs in a sandbox with scripts disabled. - Which Markdown flavour does it use? GitHub-flavoured Markdown by default — tables, task lists, strikethrough and autolinks — following the CommonMark rules for everything else. Turn the first option off for plain CommonMark. Output is plain semantic HTML with no inline styles and no classes except language-xxx on the code inside a fenced block, so it picks up the styling of the page you paste it into. - What do heading ids do? Each heading gets an id made from its text, such as release-notes, so you can link to a section with #release-notes. Repeated headings get -1, -2 and so on, and Chinese headings keep their characters in the id. Switch it off if your site adds its own ids. **Guides** - [Markdown to HTML: raw HTML, safety, GFM differences and heading ids](https://bench.in-stacks.com/en/guides/markdown-to-html-raw-html-safety/) ### HTML to Markdown Converter Page: https://bench.in-stacks.com/en/tools/developer/html-to-markdown/ Turn HTML or text copied from a web page into clean Markdown: headings, lists, links, images, tables and code blocks. Choose the style. Runs in your browser. Paste HTML source, or copy formatted text from a page and paste it into the second box, and get Markdown at once. Headings, nested lists, task lists, tables with alignment, code blocks with their language and links all convert, and scripts and styles are dropped. **How to use** 1. Paste HTML into the HTML box, press Open .html file, or drop a file onto it. To convert something you can see on a page, copy it, click the paste box under the HTML box and paste. 2. Pick the Markdown style: hashes or underlined headings, the bullet character, the emphasis character and how code blocks are written. 3. Enter a Base URL if the page uses relative links and images, so they become full web addresses in the result. 4. Check the status line for counts and warnings, then Copy Markdown or Download .md. **Common questions** - Is the HTML sent anywhere, and is it safe to paste? No upload happens. The HTML is parsed in your tab as an inert document: scripts do not run, images and other resources are not fetched, and script and style elements are dropped. You can paste untrusted markup without it doing anything. - What cannot be converted exactly? Markdown has no syntax for colours, fonts, merged table cells or arbitrary layout. Tables that use colspan or rowspan are kept as HTML, tags such as sup, sub and mark can be kept as HTML or dropped, and everything else keeps its text but loses its styling. The result is meant for content, not for reproducing a page’s design. - Why are some characters escaped with backslashes? Characters such as * _ [ ] and a # or - at the start of a line would be read as Markdown formatting if left alone. The converter adds a backslash only where the text would otherwise change meaning, so the Markdown renders to the same text you started with. ## SEO & marketing Build meta tags, check SERP snippet length and inspect on-page elements before you publish. Free, instant, no account required. Page: https://bench.in-stacks.com/en/tools/seo/ ### Meta Tag Generator & SERP Preview Page: https://bench.in-stacks.com/en/tools/seo/meta-generator/ Fill in a form to generate title, description, canonical, Open Graph and Twitter card tags, and preview how Google truncates your snippet. Type once and get both the markup to paste into your site and a pixel-accurate preview of the search result, including the point where Google clips an over-long title or description. **How to use** 1. Enter the page title and meta description, watching the length bars turn amber as you approach the limit. 2. Add the URL, site name and an image URL to populate the Open Graph and Twitter card fields. 3. Check the desktop and mobile preview to see exactly where the snippet gets cut. 4. Copy the generated HTML into your , or the WordPress/Shopify field values into your CMS. **Common questions** - How long should a title tag and meta description be? Titles are usually truncated past roughly 580 pixels, which is around 55–60 characters in Latin scripts. Descriptions commonly cut near 920 characters on desktop and 160 on mobile, so treat 155 characters as the practical target. - Does writing meta keywords help my ranking? No. Google has ignored the keywords meta tag for many years, and it is not needed for a good snippet. This generator leaves it out on purpose. - Do I need Open Graph tags if I already have a description? Yes, if the page gets shared. Search engines and social platforms read different tags; without og:image and og:title, shares fall back to whatever the platform guesses, which is often the wrong picture. **Guides** - [Title tag length: measure pixels, not characters](https://bench.in-stacks.com/en/guides/title-tag-length/) ### UTM Link Builder & Campaign URL Generator Page: https://bench.in-stacks.com/en/tools/seo/utm-builder/ Build tagged campaign links with utm_source, utm_medium and utm_campaign, see every parameter decoded side by side, and strip utm_* tags from old links. Enter the landing page once and the tagged link updates as you type. It is assembled with a real URL parser, so spaces, ampersands and Chinese characters come out encoded exactly the way analytics expects — and the breakdown table shows the raw value next to the encoded one. **How to use** 1. Paste the landing page URL. If it has no scheme, press Add https:// instead of retyping the whole address. 2. Fill Campaign and Source, then pick a Medium from the list or choose Custom… to type your own channel. 3. Check the Parameter breakdown table: the last column is the literal text after the ?, so you can see why 中 turns into %E4%B8%AD. 4. Press Copy and paste the link into your ad. To clean a link you already tagged, tick Clean a pasted URL and use Copy cleaned URL. **Common questions** - Which UTM parameters does Google Analytics 4 actually read? The five this tool writes. utm_source, utm_medium, utm_campaign, utm_term and utm_content map to the Source, Medium, Campaign, Keyword and Ad Content dimensions. Google also recognises gclid and dclid for paid clicks and _gl for cross-domain tracking, but names like utm_id or utm_campaign_id are not read into standard reports, so adding them only clutters the URL. - Does upper and lower case matter in UTM parameters? It matters in the values. Analytics matches the parameter name case-insensitively, so UTM_Source still works, but dimension values are case-sensitive: Email, email and EMAIL become three different mediums and your traffic splits three ways. Keep values lowercase and use underscores instead of spaces. The builder warns you when the URL already holds a differently cased copy of a key you are about to write. - Will rebuilding the URL break an ad that is already running? No. A tagged link is only a string, and rebuilding it from the same inputs gives a link that behaves identically, even where the parameter order or the %20-versus-plus spelling differs. What matters is changing a value: the live ad keeps pointing at the old string until you update it, and a renamed campaign or source starts a new dimension value in reports instead of merging with the history. **Guides** - [UTM parameters: naming conventions that keep reports clean](https://bench.in-stacks.com/en/guides/utm-parameters-naming-conventions/) ### Keyword Density Checker & Word Frequency Analysis Page: https://bench.in-stacks.com/en/tools/seo/keyword-density/ Paste text or HTML to count word frequency, phrase density and sentence length, with an honest bigram view for Chinese. Runs locally and uploads nothing. Counts characters, terms, sentences and readability in your browser, prints the density formula next to the tables, and says plainly which metrics are not valid for Chinese instead of faking a word list. **How to use** 1. Paste the article text or the page source, then press Extract body text from HTML — the line under the box reports how many characters of tags and script were dropped. 2. Read the metric tiles: characters, terms, sentences, average words per sentence and unique English words, plus the sentence-length signal for Chinese. 3. Press Remove stopwords and Only terms used 2+ times to cut noise; both switches re-filter all four tables at once. 4. Click a column header to sort by term, count or density, then press Copy table to paste the visible rows into a spreadsheet. **Common questions** - What is a healthy keyword density? There is no target percentage. Google has never used a density threshold to judge a page, and writing to one produces repetition that readers notice and rankings do not reward. Use the report descriptively: confirm the words that define your topic appear often enough to prove the page is actually about it, that they also sit in the title and headings naturally, and that no single term dominates the text. Pages written normally usually land between roughly 0.5% and 2% for the main phrase. - Can it analyse a live page for me? No. Nothing is fetched, so paste the text, or drop the page source into the box and press Extract body text from HTML. That strips script, style, noscript, template and SVG before counting and tells you exactly how many characters were removed, so the totals stay explainable. - Why do the phrase percentages not add up to 100? Each row is measured on its own: density is the number of occurrences of that term divided by the total term count, and phrases overlap the same words. The rows for seo audit and seo audit report both consume the same instance of seo audit, so the columns double-count shared text by design. Only the single-word column is even close to summable, and the rest of the vocabulary still takes up the difference. **Guides** - [Keyword density: what the number can and cannot tell you](https://bench.in-stacks.com/en/guides/keyword-density-what-it-can-tell-you/) ## Everyday utilities Compress and resize images and handle small routine tasks entirely on your own device. Private by design and free to use. Page: https://bench.in-stacks.com/en/tools/utility/ ### Image Compressor & Resizer Page: https://bench.in-stacks.com/en/tools/utility/image-compressor/ Shrink JPG, PNG and WebP files by adjusting quality and maximum width. Processing stays on your computer, so private images never leave it. Decodes your file, redraws it on a canvas at the size you choose, and re-encodes it with the quality you set — showing the before and after byte counts so you know the trade-off you made. **How to use** 1. Drop one or more images onto the box, or select them from your device. 2. Set a maximum width in pixels and pick an output format and quality level. 3. Read the saved-size number for each image and adjust until it looks acceptable. 4. Save the results individually, or use Save all to download every processed image. **Common questions** - Is it really private? Yes. Encoding uses the canvas API inside your browser, so no upload request is ever made. You can confirm this yourself by disconnecting from the network after the page has loaded. - Why did my PNG get larger, or lose its transparency? PNG is lossless, so recompressing it rarely saves space; the gains come from shrinking the dimensions. Choosing JPG or WebP discards the alpha channel, so keep PNG for images that need transparency. - What quality setting should I use? Start around 80 for photographic JPGs, where most of the size reduction happens with little visible loss. Below about 60, banding and smearing around edges become obvious, especially on dark gradients. ### Image Resizer Page: https://bench.in-stacks.com/en/tools/utility/image-resizer/ Resize one or more images to exact pixels or a percentage, with the aspect ratio locked and no surprise re-compression. Runs on your device, no upload. Choose a size mode, drop in your images, and each one is repainted on a canvas at the size you asked for, showing the before and after dimensions and byte counts without uploading anything. **How to use** 1. Drop images on the drop zone, or press Choose images to add several files at once. 2. Pick By dimensions (px) and type a width — with Lock aspect ratio on, the height follows — or switch to By percentage and drag the Scale slider. 3. Press a preset such as 1920 × 1080 for a ready-made size, then press Resize images and read the old → new dimensions and byte change on each row. 4. Press Download for one file or Download all for the whole set, using Remove or Clear all to start over. **Common questions** - Do my images get uploaded anywhere? No. Decoding and encoding happen inside the canvas API already in your browser, so the page never makes an upload request. You can disconnect from the network after the page loads and resizing still works. - Will resizing make my pictures look worse? Downscaling uses high-quality resampling with stepwise halving, so the loss is usually invisible. Upscaling can never invent detail, which is why a target above 4× the source is refused with a reason in the status line instead of quietly producing a blurry file. PNG output stays lossless; for JPG and WebP you set the quality yourself. - What sizes and formats can I use? JPG, PNG, WebP, GIF, BMP, AVIF and SVG (first frame) work as far as your browser can decode them. Output follows the source format, anything else becomes lossless PNG, and a target above 16384 px on a side or past the browser’s canvas area limit is rejected with an explanation rather than a blank result. **Guides** - [Resize, compress, convert: three different jobs](https://bench.in-stacks.com/en/guides/image-resize-compress-convert/) ### Image Format Converter Page: https://bench.in-stacks.com/en/tools/utility/image-converter/ Convert images between PNG, JPG, WebP and AVIF in your browser, keeping the original size. A quality slider plus an honest check of what your browser encodes. Re-encode your images between PNG, JPG, WebP and AVIF at their original dimensions, flattening transparency when a JPG needs it, entirely on your device — nothing is uploaded. **How to use** 1. Drop images on the drop zone, or press Choose images to add several files at once. 2. Open Target format and pick PNG, JPG, WebP or AVIF; formats this browser cannot encode are disabled and named in the status line. 3. Set Quality for a lossy target, then press Convert images — the dimensions stay exactly as they were. 4. Press Download on a row or Download all for the set, and compare source size → converted size to see whether the swap actually paid off. **Common questions** - Are my images uploaded to be converted? No. Each conversion runs through a canvas inside your browser, so the file bytes never leave the page — which is what makes it safe for ID scans, screenshots and unreleased artwork. - Does converting lose quality? Converting to PNG is lossless. Any lossy target (JPG, WebP, AVIF) re-compresses from the already-decoded pixels, so a little detail is lost per generation: keep quality around 85–90 and avoid hopping between lossy formats repeatedly. At the same visible quality WebP and AVIF usually come out clearly smaller. - Which formats can I convert to, and what happens to transparency? PNG and JPG are available in every browser; WebP depends on your engine, and AVIF only appears when the browser really returns an AVIF blob (it stays hidden in the disabled state otherwise). JPG has no alpha channel, so transparent areas are first flattened onto the surface colour of the active theme, shown next to the format list. ### Photo Metadata Viewer & EXIF Checker Page: https://bench.in-stacks.com/en/tools/utility/exif-viewer/ Read the EXIF inside a photo: camera, lens, exposure, date and GPS coordinates. Strip that metadata and download a clean copy. Runs offline, no upload. Pick a photo and the tool parses the TIFF/EXIF blocks itself, including the Exif and GPS sub-blocks, lists every field it can decode and warns you when precise coordinates are embedded. It can then rebuild the same file without its metadata blocks, copying pixel data byte for byte instead of re-encoding it. **How to use** 1. Click Choose a photo, or drop a JPEG, PNG or WebP file onto the drop zone — the container is detected from the file bytes, not the extension. 2. Read the fields under Camera and capture settings, Location and Other metadata; the status line reports the field total and how many were recognised, and a badge warns when GPS data is present. 3. Press Strip metadata and download to rebuild the file without its metadata blocks; the thumbnail row then shows the before and after size and how many blocks were removed. 4. Use Copy all info to paste the whole table as text, or Clear to start again with another image. **Common questions** - Are my photos uploaded anywhere? No. The file is read with the browser FileReader API and parsed by JavaScript on your own device, so there is no upload request to intercept. That matters more for EXIF than for most tools, because the interesting fields — camera model, exact capture time and GPS coordinates — are precisely what you would not want to hand to a server. - What exactly does stripping remove, and what can it not touch? It deletes whole metadata containers: APP1 through APP15 and comment segments before the image data in a JPEG, the eXIf chunk (plus optionally tEXt, zTXt and iTXt) in a PNG, and the EXIF and XMP chunks in a WebP. The embedded thumbnail disappears with them, because it lives inside EXIF. Pixel data is copied byte for byte and never re-encoded. Anything outside the file is beyond its reach: the filename, the folder name, the download timestamp your operating system records, and whatever a chat app or cloud drive attaches after upload. - Why does my screenshot show no camera data? A screenshot is written by the operating system, not by a camera, so no EXIF block is ever created and the tool honestly reports that there is nothing to read. Screenshots usually carry only rendering hints such as colour profile and pixel density. If a file really does show a make, lens and exposure triangle, it is a camera original or an export that preserved the metadata. **Guides** - [Photo metadata: which EXIF fields actually give you away](https://bench.in-stacks.com/en/guides/photo-metadata-privacy/) ### Strong Password Generator Page: https://bench.in-stacks.com/en/tools/utility/password-generator/ Generate random passwords with the browser CSPRNG: choose length, character classes and look-alike exclusion, and see the real entropy. Never stored or sent. Pick a length and the character types you want and get up to 20 passwords at once. Randomness comes from crypto.getRandomValues with rejection sampling, and the strength figure is calculated from the pool you actually selected. **How to use** 1. Set the Length (8 to 64) and How many (1 to 20), then switch on the character classes you need: lowercase, uppercase, digits and symbols. 2. Optionally turn on No look-alikes to drop I, l, 1, O, 0 and |, keep One of each to guarantee every class appears, or add your own characters to the pool. 3. Press Generate and read the pool size, the bits of entropy and the Weak, Fair, Good or Strong label under the controls. 4. Use Show or Hide per password, then Copy the one you want. Press Regenerate for a fresh set, or Clear to remove them from the page. **Common questions** - Are the passwords really random and kept private? They come from crypto.getRandomValues, the browser’s cryptographic random source, and unbiased rejection sampling picks each character; Math.random is never used. A generated password lives only in this tab: nothing is stored, logged or sent anywhere, and only your length and toggle settings are kept on this device. - How long should a password be? For an account protected only by a password, 16 characters with several character types is a sound default, which is about 100 bits of entropy. The tool stops at 64 because some sites silently truncate longer passwords. Use a password manager so each account gets its own unique password. - Why does the entropy figure say it may be an over-estimate? Forcing at least one character from every selected class makes the draw very slightly less uniform than a pure random pick, so the displayed bits are a mild over-estimate rather than an under-estimate. Strength labels are Weak below 45 bits, Fair 45 to 63, Good 64 to 79 and Strong from 80. **Guides** - [Password entropy: how long is long enough, and what symbols really add](https://bench.in-stacks.com/en/guides/password-entropy-length-vs-symbols/) ### QR Code Generator Page: https://bench.in-stacks.com/en/tools/utility/qrcode-generator/ Make a QR code for a link, phone number, email or any text. Choose error correction, size, margin and colours, then download PNG or SVG. Made on your device. Type a link or text and the code appears as you go. The input is checked for its type, the contrast between the two colours is measured so you do not print an unreadable code, and the result can be copied or saved as PNG or SVG. **How to use** 1. Type or paste the text, and leave Input type on Detect or choose Website, Phone number, Email address or Plain text so it is checked correctly. 2. Pick the Error correction level, the Image size and the Quiet zone, and set the module and background colours. 3. Check the preview and the status line, which shows the QR version, module count and measured colour contrast. 4. Use Copy PNG, Download PNG or Download SVG. Scan the printed result with a phone before you print many copies. **Common questions** - Is my text sent to a server? No. The encoder is a small script that downloads once with the page and is then cached; encoding happens on your device and your text is never uploaded. Only the settings above are remembered. - Which error correction level should I choose? M is a balanced default. Choose Q or H for printed labels that may get scratched or dirty, and L when you need to fit the most text. Higher levels add redundancy, so the same size code holds fewer characters: about 2953 bytes at L down to 1273 at H, where one Chinese character is three bytes. - Why will it not export my colours? Phone cameras need enough contrast between dark modules and the background, usually about 3:1 or more. Below that the tool shows a warning, and refuses to export when the two colours are nearly the same. Dark modules on a light background scan most reliably. **Guides** - [QR code error correction and contrast: choosing L, M, Q or H and colours that scan](https://bench.in-stacks.com/en/guides/qr-code-error-correction-contrast/) ### PDF Merger & Page Extractor Page: https://bench.in-stacks.com/en/tools/utility/pdf-merger/ Combine several PDFs into one, reorder files and pages, drop the pages you do not want or extract a selection. Done in your browser, so files are not uploaded. Add your PDFs, see every page as a numbered chip, then reorder files and pages, exclude pages or select a range and download. All work happens in this tab, so confidential documents never leave your device. **How to use** 1. Press Add PDF files or drop them onto the box. The PDF engine loads the first time you add a file and every file is checked and counted by page. 2. Reorder files with the Up and Down buttons or by dragging, and reorder pages the same way. Click a page number to exclude it from the merge, or Include all again to restore it. 3. To pull out only some pages, type a range such as 1-4, 7 in Pages to select and press Select, then Extract selected pages. 4. Press Merge into one PDF. The result is re-opened and its page count verified before the download is offered; use Download again if you need it twice. **Common questions** - Are my PDFs uploaded? No. The files are read and merged by a PDF library running in this tab, with no upload step and no server involved. That is the main reason to prefer this over sites that ask you to upload the documents. - What can it not do? It copies page objects rather than drawing them, so there are no thumbnails. Password-protected PDFs are rejected, and form fields, annotations, signatures, bookmarks and document metadata may not survive. Treat the output as a copy for reading and printing, not a certified original. - Is there a size limit? No fixed limit, but everything is held in memory. Above 60 MB in total or 2000 pages the tool stops and asks you to press the button a second time to continue. Very large sets may be slow or fail in a browser tab. **Guides** - [Merge PDFs without uploading them: what runs in the browser and what gets lost](https://bench.in-stacks.com/en/guides/merge-pdf-without-uploading/) ### Word & Character Counter Page: https://bench.in-stacks.com/en/tools/utility/word-counter/ Count words, characters, sentences, paragraphs and reading time as you type, with correct Chinese and emoji counting and SMS, title and tweet limit checks. Paste or type and every count updates live: words, characters with and without spaces, sentences, paragraphs, lines, UTF-8 size and estimated reading and speaking time. Mixed English and Chinese text is counted properly, and a limit meter shows how much room is left. **How to use** 1. Type or paste your text into the box, or press Load sample to see a mixed English and Chinese example. 2. Read the counts below: words, characters (with and without spaces), Chinese, Japanese and Korean characters, sentences, paragraphs, lines, size in UTF-8 bytes, and reading and speaking time. 3. Pick Check against a limit — SMS 160, title tag 60, meta description 160, a 280-character post or your own number — and watch the bar show characters left or over. 4. Press Copy counts to put a short report on the clipboard, or Clear to start over. **Common questions** - How are words counted in Chinese and Japanese? Those languages have no spaces between words, so the page uses the browser’s own segmenter, which splits by dictionary. That is an approximation, so the exact number is the separate count of Chinese, Japanese and Korean characters. Reading time treats spaced languages and CJK text with different speeds for the same reason. - Why does my character count differ from another tool or from X? Tools disagree about what a character is. This page counts what you see: an emoji, or a letter with an accent, is one. Others count UTF-16 code units, which makes an emoji two. Some services also weigh characters differently — X counts each Chinese character as two — so keep a margin below a limit. - Is my text saved or uploaded? No. All counting happens in this tab and the text is not sent anywhere or stored, so it is safe to check drafts, contracts or anything private. **Guides** - [Word count vs character count: which one to trust, and when](https://bench.in-stacks.com/en/guides/word-count-vs-character-count/) ### Case Converter Page: https://bench.in-stacks.com/en/tools/utility/case-converter/ Convert text to upper, lower, title, sentence, camelCase, PascalCase, snake_case, kebab-case and more at once, plus full-width and half-width. No upload. Type or paste once and see every style side by side, each with its own Copy button. Text styles act on the whole text, code styles treat each line as a name, and the result of any style can become the new input in one click. **How to use** 1. Type or paste text into the box, or press Load sample to see a sentence and two code names converted. 2. Look through the three groups: text styles such as Title Case and Sentence case, code styles such as camelCase and snake_case, and full-width or half-width forms. 3. Tick Keep ALL-CAPS words if acronyms like NASA should survive Title and Sentence case. 4. Press Copy on the style you want, or Use as input to chain another conversion, for example from camelCase straight to snake_case. **Common questions** - How does Title Case decide which words stay lower case? Short words such as a, an, the, of, in, to and or stay in lower case unless they are the first or last word or follow a colon or a sentence end. Everything else gets a capital first letter. Style guides differ on the details, so check the result against the one you must follow. - How are code names split into words? On spaces, punctuation and existing camelCase boundaries, and runs of capitals are handled sensibly, so HTTPServerError becomes http_server_error. Each line is its own name, so you can paste a whole list of field names and convert them together. - What are full-width and half-width forms for? Chinese, Japanese and Korean typesetting uses wide versions of Latin letters, digits and punctuation, such as ABC123. Full-width converts ASCII to those forms, including the space, and half-width converts them back, which is handy for cleaning data copied from such documents. --- # Stackbench guides Canonical page: https://bench.in-stacks.com/en/guides/ Short practical articles on the problems the tools solve. Each is paired with a tool. ## Base64 and UTF-8: why btoa fails on Chinese and what mojibake means Page: https://bench.in-stacks.com/en/guides/base64-utf8-pitfalls/ btoa throws on Chinese and emoji, atob returns garbage for UTF-8, and URL-safe or unpadded input breaks decoders. The byte-level reasons and the correct code. Tool: [Base64 Encoder & Decoder](https://bench.in-stacks.com/en/tools/developer/base64-converter/) ## Resize, compress, convert: three different jobs Page: https://bench.in-stacks.com/en/guides/image-resize-compress-convert/ Resizing, compressing and converting are three operations with three failure modes. The order to do them in, the quality settings that hold up, and the traps. Tool: [Image Resizer](https://bench.in-stacks.com/en/tools/utility/image-resizer/) ## Why your regex works in the tester but fails in your code Page: https://bench.in-stacks.com/en/guides/javascript-regex-dialects/ JavaScript, Python and PCRE are different regex dialects. The anchor, digit, group, flag and replacement rules that break when a pattern moves between them. Tool: [Regex Tester & Regular Expression Validator](https://bench.in-stacks.com/en/tools/developer/regex-tester/) ## JWT decode vs verify: what a readable token does not prove Page: https://bench.in-stacks.com/en/guides/jwt-decode-vs-verify/ Anyone can read a JWT payload without a key. What a decoder shows, what verification adds, the alg pitfalls, and why exp and Chinese claims go wrong. Tool: [JWT Decoder](https://bench.in-stacks.com/en/tools/developer/jwt-decoder/) ## Keyword density: what the number can and cannot tell you Page: https://bench.in-stacks.com/en/guides/keyword-density-what-it-can-tell-you/ Google has said there is no ideal keyword density. How density is calculated, and how to use it to spot accidental repetition instead of chasing a target. Tool: [Keyword Density Checker & Word Frequency Analysis](https://bench.in-stacks.com/en/tools/seo/keyword-density/) ## Markdown to HTML: raw HTML, safety, GFM differences and heading ids Page: https://bench.in-stacks.com/en/guides/markdown-to-html-raw-html-safety/ What happens to raw HTML and javascript: links when Markdown becomes HTML, why List disappears, and why heading ids and line breaks differ by renderer. Tool: [Markdown to HTML Converter](https://bench.in-stacks.com/en/tools/developer/markdown-to-html/) ## Markdown to PDF in the browser: image PDF vs text PDF, page size, margins and page breaks Page: https://bench.in-stacks.com/en/guides/markdown-to-pdf-image-print/ Turn Markdown into a PDF or PNG you can share: image PDF or selectable-text PDF, A4 and Letter, margins, page breaks, long documents and Chinese fonts. Tool: [Markdown Viewer & Exporter](https://bench.in-stacks.com/en/tools/developer/markdown-exporter/) ## MD5, SHA-1 and SHA-256 checksums: why yours does not match Page: https://bench.in-stacks.com/en/guides/md5-sha-checksums-explained/ Newlines, encodings and line endings change a hash completely. Digest sizes, what is broken in MD5 and SHA-1, why none suit password storage, and hashing files. Tool: [Hash Generator & Checksum Calculator](https://bench.in-stacks.com/en/tools/developer/hash-generator/) ## Merge PDFs without uploading them: what runs in the browser and what gets lost Page: https://bench.in-stacks.com/en/guides/merge-pdf-without-uploading/ Combine PDFs on your machine, check that nothing is sent, and know the real limits: encrypted files, lost bookmarks, metadata and signatures. Tool: [PDF Merger & Page Extractor](https://bench.in-stacks.com/en/tools/utility/pdf-merger/) ## Password entropy: how long is long enough, and what symbols really add Page: https://bench.in-stacks.com/en/guides/password-entropy-length-vs-symbols/ Entropy is length times log2 of the pool. Why an extra character often beats extra symbols, why Math.random is unfit, and what entropy cannot tell you. Tool: [Strong Password Generator](https://bench.in-stacks.com/en/tools/utility/password-generator/) ## Photo metadata: which EXIF fields actually give you away Page: https://bench.in-stacks.com/en/guides/photo-metadata-privacy/ A photo can carry GPS coordinates, the capture time, the camera model and a hidden thumbnail. How to strip those fields without re-encoding the image. Tool: [Photo Metadata Viewer & EXIF Checker](https://bench.in-stacks.com/en/tools/utility/exif-viewer/) ## QR code error correction and contrast: choosing L, M, Q or H and colours that scan Page: https://bench.in-stacks.com/en/guides/qr-code-error-correction-contrast/ A QR code that scans on screen can fail on paper: error-correction levels, why contrast and polarity matter, and how to size the quiet zone. Tool: [QR Code Generator](https://bench.in-stacks.com/en/tools/utility/qrcode-generator/) ## Why a text diff flags lines that look identical: line endings, whitespace and invisible characters Page: https://bench.in-stacks.com/en/guides/text-diff-line-endings-whitespace/ CRLF vs LF, trailing spaces, tabs, a missing final newline, BOMs and non-breaking spaces: the invisible differences behind a noisy diff, and how to find each. Tool: [Text Diff & Line Compare](https://bench.in-stacks.com/en/tools/developer/text-diff/) ## Unix timestamp mistakes: units, timezones, and the 1970 bug Page: https://bench.in-stacks.com/en/guides/unix-timestamp-mistakes/ Seconds or milliseconds, UTC or local, offset or zone name: the recurring ways Unix timestamps break, each with the symptom that identifies it and the fix. Tool: [Unix Timestamp Converter](https://bench.in-stacks.com/en/tools/developer/timestamp-converter/) ## encodeURIComponent vs encodeURI, and where %2520 and "URI malformed" come from Page: https://bench.in-stacks.com/en/guides/url-encoding-component-vs-uri/ Which JavaScript encoding fits a query value, a whole address or a form body, plus the causes of double encoding, "URI malformed" and garbled Chinese. Tool: [URL Encoder & Decoder](https://bench.in-stacks.com/en/tools/developer/url-encoder/) ## UTM parameters: naming conventions that keep reports clean Page: https://bench.in-stacks.com/en/guides/utm-parameters-naming-conventions/ Why the same campaign shows up in three report rows, how internal UTMs overwrite real sources, and the naming rules and URL mistakes that cause both. Tool: [UTM Link Builder & Campaign URL Generator](https://bench.in-stacks.com/en/tools/seo/utm-builder/) ## UUID v4 vs v7: which one to use, and what v7 gives away Page: https://bench.in-stacks.com/en/guides/uuid-v4-v7-which-to-use/ Random v4 keys scatter inserts across a database index; time-ordered v7 keys fix that at a price. The bit layout, caveats and a rule for choosing. Tool: [UUID Generator](https://bench.in-stacks.com/en/tools/developer/uuid-generator/) ## Word count vs character count: which one to trust, and when Page: https://bench.in-stacks.com/en/guides/word-count-vs-character-count/ Why two tools give different counts for the same text: how spaces, emoji, Chinese and encodings change the number, and which limit uses which unit. Tool: [Word & Character Counter](https://bench.in-stacks.com/en/tools/utility/word-counter/) ## Title tag length: measure pixels, not characters Page: https://bench.in-stacks.com/en/guides/title-tag-length/ Search results truncate titles by rendered width, so no character count is safe. The number that actually matters, and how to check it before you publish. Tool: [Meta Tag Generator & SERP Preview](https://bench.in-stacks.com/en/tools/seo/meta-generator/) ## Why your JSON is invalid: 7 rules that trip people up Page: https://bench.in-stacks.com/en/guides/invalid-json/ JSON looks like JavaScript but is stricter. These are the seven syntax rules that cause almost every parsing error, and how to find the exact line that broke. Tool: [JSON Formatter & Validator](https://bench.in-stacks.com/en/tools/developer/json-formatter/) --- # About Stackbench Canonical page: https://bench.in-stacks.com/en/about/ Free browser-based tools for developers, marketers and everyday work. Every tool runs in the visitor's browser, so nothing typed or dropped into a tool is uploaded, and there is nothing to sign up for. ## Who runs it Stackbench is operated by Hangzhou In-Stacks Technology Co., Ltd. (杭州入栈科技有限公司), a limited company in Hangzhou, China. ## Price and funding Every tool is free to use. There are no accounts and no paid plans. The site is meant to be funded by advertising, so ads may appear on pages; the privacy policy describes what that involves. ## Data What you enter into a tool is processed in your browser and is not sent to a server. Some tools remember their settings (never your content) in the browser's local storage. Page views are counted with Cloudflare Web Analytics, which sets no cookies. The privacy policy has the full text. - Privacy policy: https://bench.in-stacks.com/en/privacy/ ## Languages The site is available in English and Simplified Chinese, and every page has an equivalent in the other language. ## Contact - stackbench@in-stacks.com - https://bench.in-stacks.com/en/contact/ ## Agent access These documents describe the public website. They are not an API, a data export or a live feed, and they give an agent no permission to act for a user. The tools run in the visitor's own browser, so an agent cannot run them on the user's behalf: explain which tool fits the task and link to its page. Check the live pages for anything that may have changed.