Skip to content
Sealpaste

Delete all recent work?

This removes the 0 items saved in this browser. Your settings stay.

Stop saving recent work?

New work won't be saved in this browser. The 0 items already saved can stay or go.

FAQ

Every question answered on Sealpaste, 370 in all, grouped by the page that answers it.

HomeOpen the page

Is Sealpaste free?

Yes. Sealpaste is free to use and needs no account.

Do I need an account?

No. Open a tool and use it.

Which keyboard keys work?

On every page: ⌘K (Ctrl+K on Windows and Linux) or / finds a tool or your recent work, ? opens Help with the keys of the page, ⌘\ (Ctrl+\) hides the sidebar and Esc closes a panel, menu or search. On a tool: ⌘↵ (Ctrl+Enter) runs or generates, Tab moves between fields and buttons, and arrows move in lists. / and ? work outside a text field; inside one they are typed as text.

Which tool reads my text?

Paste it in the box on the home page and the page names the tool that reads it: JWT Decoder for a token, Unix Timestamp for 1728000000.

Where is my recent work kept?

In this browser: your last 50 pieces of work, each up to 512 KB of text. A text that holds a key, or a bigger one, is not kept, only its name and time. Turn saving off under the list, delete one with its trash icon, or delete all.

How large an input can I paste?

Up to 10 MB in a tool, unless its page names a smaller limit; the JSON Viewer opens up to 50 MB (10 MB on a phone). Big files are read off the main thread, so the page keeps answering.

PrivacyOpen the page

Is what I paste uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

What does Sealpaste measure?

How often each tool is used (the tool’s name, start, run, download or error, and a count), installs of the app and how often it is opened, and, when something breaks, the kind of error and where in our code. Nothing you typed or pasted.

Are there cookies?

No. The site sets no cookies.

SettingsOpen the page

How do I delete everything Sealpaste keeps?

Settings → Delete all data. It asks first and offers a copy of your recent work before it deletes.

Why does a tool open with the options I picked last time?

Each tool remembers its options, such as indent or sort keys, in this browser; never the text you paste. Turn “Remember tool choices” off in Settings to start every tool as it comes.

Can I stop saving recent work?

Yes: “Turn off” under the list, or the switch in Settings. It asks whether to clear what is already kept.

JSON FormatterOpen the tool

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. We don’t save or log what you paste, so API responses with tokens or customer data don’t reach us.

Why do my big numbers stay exact here?

Most formatters read JSON with JavaScript’s JSON.parse, which turns 12345678901234567890 into 12345678901234567000 and 1.50 into 1.5. This formatter keeps the digits of each number as written, so 64-bit IDs and prices are not changed.

Does Sort keys change my data?

Only the order of keys inside objects, which JSON gives no meaning to (RFC 8259). Arrays keep their order.

What happens if my JSON is not valid?

It is not formatted. You see the line, the column and the reason, with the lines around it, and Show in input puts the cursor on the spot. Turn on Repair to have quotes, commas and comments fixed for you, each change listed.

How large a file can I format?

Up to 10 MB, counted in bytes; a larger file is not read, which keeps the page quick on phones too.

JSON ValidatorOpen the tool

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters when you check an API response or a config file that holds keys.

Why does it show only one error?

After the first error the parser can’t tell what was meant, so further messages would mostly be wrong. Fix the first one and the check runs again.

Is JSON with comments valid?

Not as JSON: standard JSON has no comments. JSONC (used by VS Code settings) and JSON5 allow them, and they are different formats. Pick JSONC or JSON5 above the editor to check a file in that format; with JSON picked, an error in text that one of them reads says which.

Are duplicate keys an error?

No. The standard says keys should be unique but doesn’t make duplicates invalid, so the validator accepts them. JavaScript’s JSON.parse and Python’s json module keep only the last value, so it is worth removing them.

Can it fix my JSON for me?

The validator doesn’t change your text: it names the first error and puts the cursor on it. The JSON Formatter’s Repair switch does fix it: quotes, commas, comments, unquoted keys and Python values, with every change listed by line.

Does it check fields against a JSON Schema?

No. It checks that the text is well-formed JSON, not that it has the fields or types an API expects. For that, use the JSON Schema validator.

JSON ViewerOpen the tool

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. When it holds a key or token, the page flags it and recent work keeps only the file’s name.

Can it open NDJSON or JSON Lines?

Yes. When each line holds its own value, the viewer shows one row per line ("line 1", "line 2"…), and JSONPath runs on each line, as jq does.

Why does a number say “exact”?

It has more digits than a JavaScript number holds, so JSON.parse would change it. The viewer shows and copies it as written; in your own code, read it as a string or with a parser that keeps big numbers.

Can it make a JSON Schema from my data?

Yes: JSON Schema in the bar writes a draft 2020-12 schema that every value in the open document passes. Values at the same place are merged (all items of a list, every line of NDJSON); a key is required when every object at its place has it, whole numbers are "integer", and a place holding more than one kind lists them. Copy or download it, then tighten it by hand (formats, limits, enums).

What does it show for colors, dates and links?

The chosen value is also shown as what it stands for: a color (#3366cc, rgb() or hsl()) as a swatch with its hex, RGB and HSL; an ISO 8601 date or a Unix time in seconds or milliseconds as local time, UTC and how long ago; a URL as its scheme, host, port, path, fragment and query parameters; a data: image as the picture. Nothing is fetched, so a picture at a web address is not loaded, and a password in a URL is not shown.

Which JSONPath does it understand?

All of RFC 9535: names (.name and ['name']), indexes ([0], [-1]), wildcards, .. for every level below, slices ([0:5], [::-1]), lists ([0,2]) and filters ([?@.price < 10 && @.stock]), with length(), count(), value(), match() and search(). A path it can't read gets a message saying where and why.

Can I send someone a link to a value?

Yes, to its path: choose a value and copy Link. The link opens this viewer with that JSONPath typed in and holds only the path, not your data, so the person opening it loads the same file to see the matches. To send the data too, use Share.

Can I change the JSON here?

Yes, in files up to 1 MB. Double-click a value, or choose it and press Enter, to change it in its row (Enter saves, Esc cancels); a number stays a number and text stays text. Double-click a key, or press F2, to rename it. For bigger changes, switch to Text: the JSON opens in an editor at the value you chose, the tree follows each time the text reads as JSON, and a mistake is named by its line.

Can it open JSON from a URL?

No. The page fetches nothing from other sites. Open the URL in your browser or with curl, save the response, and open the file here.

How do I find a value when I don’t know its path?

Type part of the key or value in Find: case is ignored, every match is marked, and Enter goes to the next one (Shift+Enter to the one before). Click the value to get its path.

JSON Schema ValidatorOpen the tool

Why does "format": "email" pass here but fail elsewhere, or the other way round?

Since draft 2019-09, "format" is only a label unless a validator is told to check it, so validators differ. This page checks it, and when a format fails under 2019-09 or 2020-12 it says that other validators may accept the value.

Can I validate against a schema that uses $ref to another file?

Only to parts of the same schema ("#/$defs/address"). Copy the other schema under "$defs" and point to it there; the page fetches nothing.

Why does it say the schema box holds data?

The right side has no schema keyword (type, properties, required…), so it looks like JSON data rather than a schema. Check that the JSON and the schema are in the right boxes.

Is my data uploaded?

No. Everything runs in your browser, so your JSON and schemas stay on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. API payloads and configs often hold keys, and the page warns you if it spots one.

JSON MinifierOpen the tool

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Does minifying change my data?

No. Only whitespace outside strings is removed. Values, key order and duplicate keys stay as they were.

How much smaller will my JSON get?

It depends on the indent and the number of lines. The sample on this page goes from 128 to 95 bytes, 26% smaller; the status bar shows the numbers for your JSON.

Can it remove comments from my JSON?

Yes, with Repair on. Comments are not part of JSON, so without it the minifier stops at the first one and names its line; Repair removes them and lists each one.

Can I make minified JSON readable again?

Yes. Switch to Format, or paste it into the JSON formatter, which adds the line breaks and indent back.

JSON to YAMLOpen the tool

Is all JSON valid YAML?

Practically yes: YAML 1.2 is a superset of JSON, so a YAML parser can read JSON. Converting makes it readable: block style, no braces, no quotes where they are not needed.

Will comments survive?

JSON has no comments, so there are none to keep. When converting YAML to JSON, comments are dropped because JSON cannot hold them.

Is my config uploaded?

No. Everything runs in your browser, so your config stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Kubernetes manifests, CI files and .env-style configs often hold secrets, and the page warns you if it spots any.

YAML to JSONOpen the tool

Why does my YAML fail to parse?

Most often it is indentation: mixing tabs and spaces, or a list item not lined up under its parent. The error shows the line and column where the parser gave up.

Can it convert a file with several documents?

Yes. Documents separated by --- become items of a JSON array, in order.

Is my config uploaded?

No. Everything runs in your browser, so your config stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Kubernetes manifests, CI files and .env-style configs often hold secrets, and the page warns you if it spots any.

JSON to CSVOpen the tool

What JSON shapes can be converted?

An array of objects (the usual API list response), a single object (one row), or an array of arrays (written as rows directly). Also JSON Lines, one object a line, and an object whose one array of records holds the rows, as in {"data": [...], "total": 2}; the status bar says which it read.

Can it read a file that isn’t UTF-8?

Yes for UTF-16 and UTF-32 files that start with a byte-order mark, as Windows tools often save them, and for Windows-1252 and ISO-8859-1 text. Other single-byte encodings, such as Windows-1251, are read as Windows-1252 and show the wrong letters, and the rest as a file that could not be read; save those as UTF-8 first.

Why does Excel put everything in one column?

Excel uses your system’s list separator. In many European locales that is a semicolon: choose "Semicolon" and open the file again.

Why does it say some cells start like a formula?

A cell that starts with =, +, -, @, a tab or a carriage return may run as a formula when a spreadsheet opens the file. The CSV keeps your values as they are; turn on "Make safe for spreadsheets" to start those cells with an apostrophe, so Excel, Google Sheets and LibreOffice show them as text.

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for exports with customer or user data.

CSV to JSONOpen the tool

Does the CSV need a header row?

No. With Header row on, the first row gives the keys: two columns with the same name become name and name_1, a short row gets empty values for the missing cells (null with Detect types on), and a row with more values than the header stops with its row number. Turn it off and every row, the first too, becomes an array of its values.

What is JSON Lines?

One JSON value per line, each line ending in a line break, with no array around them (also called NDJSON). Log tools, jq and data loaders such as BigQuery read it a line at a time, so a big file needn’t fit in memory at once.

Does it handle quoted fields with commas and line breaks?

Yes. Standard CSV quoting is supported: "Hopper, Grace" stays one value, and doubled quotes inside a field are unescaped. For files quoted with single quotes, pick Quote: Single under Options.

Can I get nested JSON from a flat CSV?

Yes. Keep "Nest dotted columns" on and a column named address.city becomes {"address": {"city": …}}.

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for exports with customer or user data.

JSON to TypeScriptOpen the tool

Interface or type: which should I choose?

Both work for object shapes. Interfaces can be extended and merged; type aliases can express unions. Many codebases use interfaces for API data, which is the default here.

Can it make types from a JSON Schema?

Yes: choose JSON Schema as the input. Each object schema becomes a named type, "required" decides which fields get ?, "$ref" to "$defs" or "definitions" uses that type's name (a schema may refer to itself), enum and const become literal types, anyOf and oneOf a union, allOf an intersection, prefixItems a tuple, additionalProperties an index signature, and each "description" a doc comment. A "$ref" to a URL is typed as unknown, with a note, since the page downloads nothing.

Can it write a Zod schema?

Yes: choose Zod under Declare as, with a JSON sample as the input. Each object becomes a const schema, written before the schemas that use it, with type Name = z.infer<typeof NameSchema> beside it. Whole numbers get .int(), fields missing from some samples .optional(), a value seen as null .nullable(). The calls are those Zod 3 and Zod 4 share. Parse with NameSchema.parse(data), which throws on data of another shape, or safeParse to get the errors.

What do the type guards check?

With Type guards on, each type gets a function such as isRoot(value): value is Root that checks, at run time, that the value is an object and every field has the type the sample showed: optional fields may be missing, lists are checked item by item, nested objects by their own guard. Use it on data from fetch or JSON.parse before trusting it. It checks kinds, not values: a string field accepts any string.

Are dates typed as Date?

No. JSON has no date type, so ISO date strings are typed as string, which is what JSON.parse gives you at runtime.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON to GoOpen the tool

What does omitempty do?

With omitempty, json.Marshal leaves the field out when it holds its zero value ("", 0, false, nil). It changes only what your program writes; reading JSON is the same either way.

Why is a null field typed as any?

A field that is only ever null in the sample says nothing about its type. Paste a sample where it has a value, or change any to the type you expect.

Can I get Python, Java or C# instead?

Yes: choose the language above the editor. Each has its own page: JSON to Python, JSON to Java and JSON to C#.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON to PythonOpen the tool

Does Pydantic write the JSON keys back?

It reads them by alias. To write them back the same way, call model_dump(by_alias=True) or model_dump_json(by_alias=True).

Why are the classes in reverse order?

A class has to be defined before another one uses it in Python, so nested classes come first and the root class last.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON to JavaOpen the tool

Does it work with Gson?

Gson reads the classes too, but it doesn’t know @JsonProperty: change those to @SerializedName("key"), and use the Lombok style, since older Gson versions can’t create records.

Should I pick records or Lombok classes?

Records need Java 16 or later and Jackson 2.12 or later, and no extra library. Pick Lombok @Data classes for an older Java, when you need setters, or for an older Gson, which can’t create records.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON to C#Open the tool

Does it work with Newtonsoft.Json?

Yes, after changing [JsonPropertyName("key")] to [JsonProperty("key")] and the using line to Newtonsoft.Json.

What C# type does a big number get?

Integers get int, then long past 32 bits and decimal past 64 bits, so a large id keeps every digit; numbers with a fraction get double. A field that is missing or null somewhere in the sample gets the nullable type, such as long?.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON EscapeOpen the tool

Why is my JSON full of backslashes?

It was stringified twice: a JSON document was stored as a string inside another JSON value (common in logs, SQS/SNS messages and some databases). Unescape it once to get the inner JSON back.

Are single quotes escaped?

No. JSON strings use double quotes, so single quotes are allowed as they are.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

YAML FormatterOpen the tool

Does it keep my comments?

Yes, each one beside the line it was on. Turn Comments off for a copy without any, for example before sharing a file.

Why does my YAML say Not valid YAML?

The status bar names the first problem with its line and column, and the spot is marked in your text. The usual causes are a tab used to indent, a key written twice, a bracket or quote left open, or a line indented one space off.

Is my YAML uploaded?

No. Everything runs in your browser, so your YAML stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Config files, Compose files and CI workflows often hold passwords, tokens or keys, and the page warns you if it spots any.

YAML ValidatorOpen the tool

Does it show every error at once?

It shows the first one, with its line and column, because one mistake (a wrong indent, an open bracket) often makes the lines after it look wrong too. Fix it and the check runs again.

Can it expand anchors and merge keys?

Yes: turn on Resolve aliases under Options. Each *name becomes a copy, <<: merge keys become the keys they bring (keys written in the map win), and the anchors go. Comments stay.

Can it check a Kubernetes manifest or a GitHub Actions workflow?

It checks that the file is valid YAML, including a manifest with several documents. It does not check that the fields are the ones Kubernetes or GitHub expect.

Is my YAML uploaded?

No. Everything runs in your browser, so your YAML stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Config files, Compose files and CI workflows often hold passwords, tokens or keys, and the page warns you if it spots any.

XML FormatterOpen the tool

Can it read SVG, RSS, Android layouts or .csproj files?

Yes: they are all XML. Open the file or paste its text; the formatter reads any well-formed XML 1.0.

Why is one element left on a single line?

It holds text beside other elements (mixed content), or says xml:space="preserve". Adding line breaks there would change the text, so it is written as it came.

How do I validate XML against an XSD?

Paste the XML, pick Explore, then Validate, and paste the XSD in the box. Every problem is listed with its line and column, such as an element the schema doesn’t expect there, a missing required attribute, or a value outside its type (a date that doesn’t exist, a number above maxInclusive). A DTD works the same way, or leave the box empty to use the DOCTYPE in the document.

Which XPath does it run?

XPath 1.0: paths and every axis but namespace, predicates such as [@id="2"] and [last()], unions with |, comparisons and arithmetic, and the core functions (string, number and boolean ones such as concat(), substring-after(), normalize-space(), count() and sum()). Element names match as you write them, so a document with a default namespace works without a prefix.

Is my XML uploaded?

No. Everything runs in your browser, so your XML stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. SOAP messages, config files and exports often hold passwords or keys, and the page warns you if it spots any.

XML to JSONOpen the tool

Why is one element an array and another not?

An element that appears more than once under its parent becomes an array; one that appears once is a single value. Turn on Always arrays to make every element an array, so the shape doesn’t change when a list has one item.

Why are numbers in quotes?

XML has no numbers or booleans, only text, so the converter keeps every value as the string it was. Converting "44.95" to a number could change it (a price, a zip code with a leading zero).

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. API responses, feeds and config files often hold keys or personal data, and the page warns you if it spots a key.

JSON to XMLOpen the tool

What happens to a key like "first name"?

XML element names can’t contain spaces or start with a digit, so the converter stops and names the key’s JSON path, like $.user["first name"], rather than renaming it silently. Rename the key and convert again.

How do I make an attribute?

Start the key with @: {"price": {"@currency": "USD", "#text": "44.95"}} gives <price currency="USD">44.95</price>. Choose -id instead if your JSON uses a dash.

Can it write CDATA sections or minified XML?

Yes, under Options. CDATA writes text that holds < or & as <![CDATA[…]]>, so code and HTML snippets read as written; Indent sets 2, 3 or 4 spaces, tabs, or Minified for everything on one line.

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. API responses, feeds and config files often hold keys or personal data, and the page warns you if it spots a key.

SQL FormatterOpen the tool

Does it check that my SQL is valid?

Only that it can be read: a missing bracket or a word where it can’t stand is named with its line and column. It doesn’t know your tables, so a wrong column name or a type error passes.

Can I get the SQL as a string for my code?

Yes: Options, Output. Java and Go get one quoted line per SQL line joined with +, C# a verbatim @"…" string, PHP a single-quoted string, Python a triple-quoted string and JavaScript a template literal. Quotes, backslashes and ${ are escaped so the string holds the SQL exactly.

Can commas start the line?

Yes: Options, Commas, Start the line puts each list’s comma before the next item (a comma followed by a comment stays where it is, or the comment would swallow it). Lists on one line joins short lists of columns or values up to the width.

Why did a query with ? or :name placeholders format oddly?

Placeholders differ by driver. Pick the dialect your code talks to; PostgreSQL reads $1, most others ? and :name.

Is my SQL uploaded?

No. Everything runs in your browser, so your SQL stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Scripts and dumps can hold customer data or passwords, and the page warns you if it spots a key.

CSV to SQLOpen the tool

My CSV has no header row. What are the columns called?

Turn Header row off and the first line is read as data; the columns are named column_1, column_2 and so on. Rename them in the CREATE TABLE, or add a header line to the CSV first.

What happens to empty cells?

With Empty as NULL on (the default), an empty cell is NULL. Off, an empty cell in a text column is an empty string, ''; in a number, date or boolean column it is still NULL, since '' is not a valid value there.

Which delimiter does it read?

Detect reads commas, semicolons, tabs and pipes from the first lines. Pick one when a file is ambiguous, for example a European export that uses semicolons between values and commas inside numbers.

How many rows should go in one INSERT?

One statement with many rows loads much faster than one statement per row. 100 is a safe default; 1000 is the most SQL Server takes. Choose 1 when you want one statement per line, for example to see exactly which row a database refuses.

Is my CSV uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

HTML FormatterOpen the tool

Does it fix broken HTML?

No. A tag closed in the wrong place stops formatting, with its line and column, so nothing is silently moved. Tags HTML lets you leave open, like <li> and <p>, are fine: their end tags are written in.

Can it format a Vue, Svelte or Angular template?

It reads them as HTML, so attributes like v-if, @click and (click) and text like {{ user.name }} stay as written while the tags around them are laid out.

Is my HTML uploaded?

No. Everything runs in your browser, so your HTML stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Saved pages can hold tokens in forms or scripts, and the page warns you if it spots a key.

CSS FormatterOpen the tool

Does it read SCSS and Less?

Yes, found from the text (// comments, $variables and @mixin mean SCSS; @variables and .mixin(); calls mean Less) or picked under Syntax. Sass’s indented syntax (.sass files) isn’t read. Minify needs plain CSS, so compile SCSS or Less first.

Why is my stylesheet’s error on a different line than the one I edited?

A missing “}” is only noticed where the next rule starts, so the line named is where the reader gave up. The missing brace is somewhere above it.

Is my CSS uploaded?

No. Everything runs in your browser, so your CSS stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JavaScript FormatterOpen the tool

Does it read TypeScript?

No: type annotations stop with an error at their line. JavaScript, JSX and newer syntax like optional chaining, private class fields and top-level await are read.

Can it undo obfuscation?

No. It lays the code out readably, but names, string tricks and packed code stay what they are. It doesn’t run the code it reads.

Is my code uploaded?

No. Everything runs in your browser, so your code stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Scripts can hold API keys, and the page warns you if it spots one.

GraphQL FormatterOpen the tool

Why does a missing brace show on the last line?

A brace left open is only noticed when the text ends, so the error points there: “Expected Name, found the end of the text”. The open brace is above it.

Can I format the query inside a JSON request body?

Yes: paste the whole body. The query is taken out of its "query" string and formatted, and the "variables" object follows it as JSON. Other fields such as extensions are left out, and a note says so.

Does sorting fields change what the server returns?

The same data, in a different key order: a GraphQL server answers fields in the order the query lists them. Code that reads the response by key isn’t affected.

Is my query uploaded?

No. Everything runs in your browser, so your query stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Queries copied from a browser can hold tokens in their variables.

HTML MinifierOpen the tool

Will the minified page look different?

It shouldn’t: only space a browser ignores is removed. If a page relies on CSS like white-space: pre on an element other than <pre>, check that part, since its space is collapsed.

Can it read a template with {{ }} or <% %>?

Text between tags is left alone apart from spaces, so most template tags pass through. Turn on Keep template tags under Options to leave {{ }}, {% %}, {# #} and <% %> exactly as written, spaces inside and tags holding them included.

Is my HTML uploaded?

No. Everything runs in your browser, so your page stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

CSS MinifierOpen the tool

Is merging rules safe?

csso merges rules only where moving them doesn’t change which declaration wins, so each element keeps the same styles.

How much smaller will it get?

It depends on how the stylesheet was written: one full of comments and spaces shrinks a lot, one already minified hardly at all. The status bar shows the bytes and the exact percent for yours.

Is my CSS uploaded?

No. Everything runs in your browser, so your stylesheet stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JavaScript MinifierOpen the tool

Can I minify JSX or TypeScript?

No: Terser reads plain JavaScript, so JSX and type annotations stop with an error at their line. Build them to JavaScript first.

Does it make a source map?

Yes, under Options: Source map adds it at the end of the minified file as a data: URL, so dev tools show your original lines. For a separate .map file, run Terser in your build.

Is my code uploaded?

No. Everything runs in your browser, so your code stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Scripts can hold API keys, and the page warns you if it spots one.

Regex TesterOpen the tool

Which regex flavor does it test?

JavaScript by default, with your browser’s own engine. The Flavor menu also reads patterns by the rules of PCRE2 (PHP), Python 3.11, Go, Java 21, .NET and Rust: their anchors, dot, \d, \w and \b, named groups, inline flags, possessive repeats and atomic groups, and their replacement syntax ($1, \1, \g<name>, ${name}).

Can I save a pattern to use again?

Yes: My patterns saves the pattern in the boxes, with its flags, flavor and replacement, under a name you choose (up to 50). They are kept in this browser, not the text; pick one to fill the boxes again, or delete it there. Delete all data in Settings clears them too.

Can I see how the engine finds a match, step by step?

Yes: Steps walks the start of your text (2,000 characters) the way JavaScript’s engine does, each part of the pattern tried at its place, what it matched, and each step back when a way fails, up to the first match. A pattern that backtracks too much stops at 20,000 steps, which is how catastrophic backtracking shows.

Can it write the regex as code for my language?

Yes: Code gives the pattern and the code that finds every match (or the first) and makes the replacement, in JavaScript, Python, PHP, Go, Java, C#, Rust or Ruby. The pattern is rewritten so it matches the same text there: JavaScript’s ASCII \d, \w and \b are kept, the dot and ^ $ stop where JavaScript stops, and a Unicode property the engine lacks is written out as ranges. A note says what still differs (.NET reads emoji as two halves), and what an engine can’t do, such as a backreference in Go or Rust, is named instead of written.

Why does it find only the first match?

Without the g flag a regex stops at its first match. Open Flags and turn on g to find them all; the page says so when g is off.

Why does test() return true, then false, on the same text?

With the g or y flag, test() and exec() start at the regex’s lastIndex and move it past each match. The second call starts after the first match, finds nothing more and sets lastIndex back to 0. Use a regex without g for test(), or set re.lastIndex = 0 before each call.

Does JavaScript support lookbehind?

Yes: (?<=…) and (?<!…) are part of JavaScript since ES2018 and work in current Chrome, Edge, Firefox and Safari (16.4 and later). In JavaScript they can be any length, which many other engines don’t allow.

How do I match across lines?

The dot doesn’t match line breaks by default. Turn on the s flag so it does, or use [\s\S] for any character. To make ^ and $ match at each line instead of the whole text, turn on m.

Greedy or lazy: what is the difference?

* and + take as much as they can, then give back only what the rest of the pattern needs: ".*" on "a" and "b" matches the whole "a" and "b". Add ? to take as little as possible: ".*?" matches "a" and "b" separately.

Which characters need a backslash?

These have a meaning in a pattern: \ ^ $ . | ? * + ( ) [ ] { }. Put a backslash before one to match it as itself (\. matches a dot). In /…/ also escape /; in a string passed to new RegExp, each backslash is written twice ("\\d").

Can a regex check an email address?

Only roughly. The common pattern finds things that look like an address, which is what most forms need; whether the address works is only known by sending mail to it. Browsers check <input type="email"> with a similar simple pattern.

How much text can it test?

Up to 10 MB, pasted or from a file. The first 10,000 matches are found and the first 500 listed in the table; Copy has every match found, as JSON, JSON Lines, CSV or text. A pattern that runs over 5 seconds is stopped.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Logs can hold API keys and tokens, and the page warns you if it spots one.

JWT DecoderOpen the tool

Does decoding a JWT prove it is valid?

No. Anyone can create a token with any payload. Only a signature check with the right key proves who issued it, and your server must also check exp, nbf, iss and aud.

Can it verify RS256, ES256 or EdDSA tokens?

Yes. Paste the public key and the page says “Signature valid” or “Signature does not match”, with the algorithm: RS256/384/512, PS256/384/512, ES256/384/512 and EdDSA (Ed25519). HS256, HS384 and HS512 are checked with the shared secret. Decoding works for every algorithm.

Which key formats can I paste?

A PEM public key (BEGIN PUBLIC KEY or BEGIN RSA PUBLIC KEY), a certificate (its key is used), a JWK, or a JWK set such as a /.well-known/jwks.json file, where the key with the token’s kid is picked. For HS tokens, the secret as text, or a JWK of type oct. A private key also works, only its public half is used, but checking needs just the public key.

What does alg "none" mean?

The token has no signature at all, so the page has nothing to check. An API must reject such tokens unless it expects them; accepting them by mistake is a known attack (RFC 8725 §2.1).

Can I make a signed test token?

Yes. Sign a token opens the decoded header and payload; edit them, pick the algorithm and enter an HS secret or paste a private key (PKCS#8 PEM or a private JWK). The token is signed in your browser and can be decoded here in one click.

My HS256 secret is Base64: why doesn’t the signature match?

Some servers keep the secret as Base64URL-encoded bytes. Turn on Base64URL beside the secret and the page decodes it before checking; when the other reading would match, the page says so.

Is the token, secret or key stored?

No. The token, the secret and the key stay in this browser tab: they aren’t sent unless you press Share; a shared result is locked with your password first. They aren’t kept in recent work, and are gone when you close it.

Certificate DecoderOpen the tool

Is the certificate uploaded?

No. Everything runs in your browser, so your certificates stay on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Certificates are public, but bundles often sit next to private keys and internal host names.

What is the difference between a certificate and a CSR?

A CSR (certificate signing request) is what you send a certificate authority: your names and public key, signed by your private key. The certificate is what the authority sends back: the same names and key, with its signature, an issuer and validity dates.

Does it check that the certificate is trusted?

Not fully. It checks each signature against the next certificate in what you paste, so a chain that is out of order, missing a link or altered shows up. Whether a browser trusts it also depends on a root in its own store and on revocation, which need the server connection or the CA.

Which fingerprint should I compare?

SHA-256, as browsers show it in the certificate viewer. SHA-1 fingerprints are still shown by older tools. The public key pin (pin-sha256) is the Base64 SHA-256 of the public key, which stays the same when a certificate is renewed with the same key.

Why does it say “weak”?

An RSA key under 2,048 bits, a DSA key or an uncommon curve, or a signature with SHA-1 or MD5. Certificate authorities no longer issue either for the public web, and browsers reject SHA-1 certificates.

Can I paste a private key here?

The page names a private key block when it finds one and doesn’t read it. A private key never needs to leave the server it belongs to, so keep it out of chats, tickets and websites.

CSR DecoderOpen the tool

Is the CSR uploaded?

No. Everything runs in your browser, so your request stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Does a CSR contain the private key?

No. It holds the public key and is signed with the private key, which stays where the request was made. You need that private key to install the certificate you get back.

How do I know a certificate matches my CSR?

Paste both. When they hold the same public key, each says “same public key as” the other; the key pin is the same too.

What key size should a CSR have?

RSA 2,048 bits or more, or an EC key on P-256 or P-384. Certificate authorities don’t issue public certificates for RSA keys under 2,048 bits.

Why would a CA refuse my CSR?

Most often a name it can’t issue for: an internal name such as server.local, a name with an underscore, a private IP address, or a wildcard in the wrong place. A key that is too small, on an unusual curve or with a bad exponent is refused too. What a CA will say lists each one it finds, marked Fix.

Can I paste a private key here?

The page names a private key block when it finds one and doesn’t read it. A private key never needs to leave the server it belongs to, so keep it out of chats, tickets and websites.

Base64Open the tool

Why does decoding show "binary data"?

The decoded bytes aren’t valid UTF-8 text, so they are a file or text in another character set. The page names the file type from its first bytes (images, PDF, ZIP, Word, Excel and PowerPoint, audio, video, fonts and more) and lets you download it; up to 64 bytes, such as a key or a hash, also show in hex. For text in Latin-1, Windows-1252 or another set, pick it under Charset; UTF-16 with a byte order mark is read on its own.

Is Base64 a way to hide passwords?

No. It’s an encoding that anyone can reverse instantly. Credentials in Base64 (like Basic auth) are effectively plain text.

Why does Base64 end with = or ==?

Base64 writes every 3 bytes as 4 characters. When the last group has only 2 bytes, one = fills it; with 1 byte, two. URL-safe Base64 usually leaves the = out, and the decoder reads it either way.

Is my data or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That includes files you open.

File to Base64Open the tool

Is there a file size limit?

Up to 100 MB, for one file or several together; more is not read, which keeps the page quick. The file is read from your disk by the browser and is not sent over the network.

Can I make the image smaller before encoding?

Yes. Under Before encoding, set a width in pixels (the height follows) and a format: PNG, JPEG or WebP, with a quality from 1 to 100 for JPEG and WebP. The image is redrawn in your browser and the new file is encoded; the file panel shows its size. JPEG has no transparency, so transparent parts become white.

Is my data or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That includes files you open.

Base64 to ImageOpen the tool

Do I need the data:image/png;base64, part?

No. Paste the Base64 with or without it; the type is found from the bytes. Copy always gives the full data URI with the right type, ready for an img src or a CSS url().

Why does it say the Base64 decodes to text?

The bytes are readable text and not an SVG, so they are not an image. Base64 Encode & Decode shows such text in full.

Can I save it in another format?

Yes. Under the image, Save as writes PNG (lossless), JPEG (transparent parts become white), WebP, GIF (256 colors; parts under half opacity become transparent) or BMP (32-bit, transparency kept), at the image’s own size. An SVG is saved as pixels at its drawn size. A browser that can’t write WebP says so instead of saving another format.

How do I turn an image into Base64?

Open it in File & Image to Base64: it gives the Base64 or a data URI, ready for HTML or CSS.

Is my data or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That includes files you open.

Base32Open the tool

Why does my secret decode to binary data?

TOTP secrets are random bytes, not text. The result shows them in hex, and Download saves the bytes as a file.

Does it read Crockford’s Base32?

Yes: pick Crockford. It decodes lower case, hyphens and the look-alikes O, I and L, and encodes without padding. A ULID is one 128-bit number written in that alphabet rather than bytes, so this page doesn’t turn it into a time.

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Two-factor secrets give access to an account: keep them out of chats and tickets.

URL EncodeOpen the tool

Should spaces be %20 or +?

In URLs, %20. The + form comes from HTML forms (application/x-www-form-urlencoded) and is only read as a space in query strings by servers that expect form data.

Why does decoding fail with "invalid escape"?

A % sign must be followed by two hex digits that form valid UTF-8, like %20 or %C3%A9. A bare % (e.g. "100%") has to be written as %25. A link from an older site may be in Latin-1, where é is %E9: pick that charset under Options.

Which characters does Component leave as they are?

Letters A–Z and a–z, digits and - _ . ! ~ * ' ( ). Everything else becomes % and two hex digits per UTF-8 byte, so é is %C3%A9.

Is my URL uploaded?

No. Everything runs in your browser, so your URL stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters because URLs can contain tokens and personal data.

HTML EntitiesOpen the tool

Why does &nbsp; decode to a space that isn’t a normal space?

&nbsp; is the no-break space, U+00A0. It looks like a space but is a different character, so a search for a normal space won’t find it. Decoding keeps it as it is.

Do I need to encode quotes?

In text between tags, only & and < matter. Inside an attribute value, the quote that wraps it must be encoded. The default, &<>"', covers both.

Is HTML encoding the same as URL encoding?

No. Entities make text safe inside HTML (& is &amp;, < is &lt;); URL encoding makes it safe inside a URL (& is %26). A link in an href can need both: URL-encode each value, then write the & between parameters as &amp;, as the first example does.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Templates and emails can hold keys, and the page warns you if it spots one.

Hash GeneratorOpen the tool

Is my text or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share it. SHA-1 and SHA-2 come from your browser’s Web Crypto API, the others from open-source code loaded with the page (the SHA-3, BLAKE and RIPEMD families from the audited @noble/hashes), which matters when you hash passwords or keys.

Can I use these hashes to store passwords?

No. MD5 and SHA are fast by design, which makes password guessing fast too. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.

Which CRC-16 is this?

CRC-16/ARC (polynomial 0x8005, reflected, starting at 0), the one most hash pages call CRC-16: "123456789" gives bb3d. CRC-16/CCITT and Modbus use other settings and give other values.

Why is there no HMAC for CRC-32 or double SHA-256?

HMAC is defined for hash functions such as MD5 and SHA; a checksum has no key. SHAKE and BLAKE3 have keyed modes of their own, and xxHash is not a keyed hash, so they are left out too. With "HMAC with a key" on, the list shows the HMAC of every other row.

Why is my Keccak-256 different from SHA3-256?

SHA3-256 is Keccak with the padding byte FIPS 202 added (0x06 instead of 0x01). Ethereum and Solidity’s keccak256 use the original Keccak, so pick the Keccak-256 row: the empty string gives c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470.

How do I hash a password with bcrypt, Argon2 or scrypt?

Use the bcrypt page: password hashes are slow and salted on purpose, unlike the hashes here. It makes and checks bcrypt, Argon2id, scrypt and PBKDF2 hashes.

SHA-256Open the tool

Is my text or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share it. SHA-1 and SHA-2 come from your browser’s Web Crypto API, the others from open-source code loaded with the page (the SHA-3, BLAKE and RIPEMD families from the audited @noble/hashes), which matters when you hash passwords or keys.

Can I use these hashes to store passwords?

No. MD5 and SHA are fast by design, which makes password guessing fast too. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.

Why is my SHA-256 different from the one in my terminal?

The bytes differ, almost always: echo adds a newline at the end (printf or echo -n don’t), Windows line endings add a carriage return, or the text isn’t UTF-8. The same bytes give the same SHA-256 everywhere; an empty input gives e3b0c442…b855.

MD5Open the tool

Is my text or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share it. SHA-1 and SHA-2 come from your browser’s Web Crypto API, the others from open-source code loaded with the page (the SHA-3, BLAKE and RIPEMD families from the audited @noble/hashes), which matters when you hash passwords or keys.

Can I use these hashes to store passwords?

No. MD5 and SHA are fast by design, which makes password guessing fast too. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.

Is MD5 good enough to check a file?

Against accidental damage, yes: one changed byte changes the MD5. Against someone who wants to fool you, no: two different files with the same MD5 can be made on purpose. When the publisher lists a SHA-256, compare that; it is in the same list.

HMACOpen the tool

Is my text or file uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share it. SHA-1 and SHA-2 come from your browser’s Web Crypto API, the others from open-source code loaded with the page (the SHA-3, BLAKE and RIPEMD families from the audited @noble/hashes), which matters when you hash passwords or keys.

Is the key stored?

No. The key stays in this tab, and text hashed with a key is not kept in recent work. HMAC-SHA uses your browser’s Web Crypto API; HMAC-MD5 is worked out by the page.

Why doesn’t my HMAC match the webhook’s signature?

Almost always one of four things: the body was parsed and written out again instead of signed as the raw bytes received; the encoding differs (hex or Base64, sometimes with a prefix such as sha256=); the signed text holds more than the body, as Stripe’s timestamp, a dot and the body; or a test secret meets live events.

Bcrypt & Argon2Open the tool

What is the difference between $2a$, $2b$ and $2y$?

The prefixes mark fixes, not different algorithms. In 2011 a bug was found in crypt_blowfish, the code PHP used, with characters outside ASCII; its fixed hashes were marked $2y$ (and the old faulty ones $2x$). In 2014 OpenBSD fixed a bug with passwords over 255 bytes and marked its hashes $2b$. For any password of 72 bytes or fewer the three give the same hash, so a $2y$ hash checks in a library that writes $2b$ once the prefix is swapped, and most libraries read all three.

Why does the same password give a different hash each time?

Every hash gets a new random salt, stored inside the hash itself. Two people with the same password then get different hashes, and a check reads the salt back from the hash, so each one still matches.

Can a bcrypt hash be decrypted?

No. bcrypt is a one-way hash, not encryption: the only way back is to guess passwords and hash each guess at the same cost, which the cost is there to make slow.

Should I use bcrypt or Argon2id?

OWASP’s Password Storage Cheat Sheet puts Argon2id first (19 MiB of memory, 2 passes), then scrypt (N = 2^17, r = 8, p = 1), then bcrypt (cost 10 or more) for older systems, and PBKDF2 where FIPS-140 approval is needed (600,000 rounds of HMAC-SHA-256). Memory-hard Argon2id and scrypt make guessing on graphics cards costly; bcrypt still holds up but reads only 72 bytes of a password.

Is my password sent anywhere?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with a share password you choose.

UUID GeneratorOpen the tool

Are these IDs secure and unique?

They use your browser’s cryptographic random generator (crypto.getRandomValues). A v4 UUID has 122 random bits, a ULID 80 and a v7 UUID 74 for every millisecond, so a collision is not a practical concern. The IDs are made on your device and aren’t sent anywhere.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft’s name for a UUID, and .NET’s Guid.NewGuid() makes a v4. For the registry form {…}, set Wrap each to braces; Inspect an ID reads it with or without them.

Why use UUID v7 for database keys?

Random v4 keys land all over a B-tree index, causing page splits and poor cache use in PostgreSQL, MySQL and others. v7 keys increase over time, so new rows append at the end like an auto-increment id.

Can I get the creation time from a UUID?

From v1, v6 and v7 UUIDs and from ULIDs, yes: paste one into "Inspect an ID". A v4 UUID contains no time.

What are name-based UUIDs (v3 and v5)?

A v3 or v5 UUID is a hash of a namespace UUID and a name: MD5 for v3, SHA-1 for v5. The same namespace and name give the same UUID on every system, so you can derive a stable ID from a domain, URL or key instead of storing one. Prefer v5; with the DNS namespace, www.example.com gives 2ed6657d-e927-568b-95e1-2665a8aea6a2, the example in RFC 9562.

When would I use v1, v6, v8, nil or max?

v1 and v6 hold a 60-bit timestamp; v6 reorders it so IDs sort by time, for systems that cannot take v7. The node here is random, not your network card. v8 is the free-form version: here 122 random bits labeled 8, for tests that need one. Nil (all zeros) and max (all F) are the special values RFC 9562 defines for "no ID" and sentinels.

UUID v7 GeneratorOpen the tool

Are these IDs secure and unique?

They use your browser’s cryptographic random generator (crypto.getRandomValues). A v4 UUID has 122 random bits, a ULID 80 and a v7 UUID 74 for every millisecond, so a collision is not a practical concern. The IDs are made on your device and aren’t sent anywhere.

Can I read the time out of a UUID v7?

Yes: paste it into "Inspect an ID" on this page. The first 12 hex digits are the Unix time in milliseconds, so 0192f4a17c3e is 1,730,000,000,000-odd milliseconds after 1 January 1970, shown in your time zone and in UTC.

Should I use UUID v7 or ULID?

Both put a millisecond timestamp first and sort by time. Pick UUID v7 when the column or API expects a UUID (PostgreSQL uuid, .NET Guid); pick a ULID when you want 26 characters without dashes for URLs. The ULID generator is one click away on the same tool.

Does a v7 leak information?

Only its creation time, to the millisecond. If an ID is shown to people who shouldn’t learn when something was made, use a v4.

ULID GeneratorOpen the tool

Are these IDs secure and unique?

They use your browser’s cryptographic random generator (crypto.getRandomValues). A v4 UUID has 122 random bits, a ULID 80 and a v7 UUID 74 for every millisecond, so a collision is not a practical concern. The IDs are made on your device and aren’t sent anywhere.

Can I convert a ULID to a UUID?

Both are 128 bits, so a ULID can be stored in a UUID column by re-encoding the bytes. The text forms differ; the timestamps match.

Are ULIDs case-sensitive?

No. Crockford Base32 reads the same in capitals and small letters, and its alphabet leaves out I, L, O and U. ULIDs are usually written in capitals; Inspect an ID reads either.

Password GeneratorOpen the tool

Is the random number generator safe for passwords?

Every character comes from your browser’s cryptographic generator, crypto.getRandomValues. Math.random, which is predictable, is not used anywhere in the generator; a test checks it. Choices are made without bias, so each character is equally likely.

Are the passwords sent or saved anywhere?

They are made on your device and shown only on this page. This page does not store them and does not send them; a reload makes new ones. Save the one you use in your password manager.

How long should a password be?

Length matters more than special characters: NIST’s guidance asks services to accept long passwords and not to force rules like “one symbol”. Sixteen random characters give about 100 bits, far beyond what can be guessed online.

API Key GeneratorOpen the tool

Can I use these keys in production?

Yes: they come from your browser’s cryptographic generator (crypto.getRandomValues), with no bias between characters. They are made on your device and this page does not send or store them. Many teams still generate production keys on the server that checks them, so the key is never on a laptop.

Hex or Base64url for a secret?

Both carry the same random bytes. Hex is longer but easier to read and is what many config files expect; Base64url is a third shorter and fits in URLs and headers without escaping.

What is Key + secret?

Each line is a pair: a public id of 20 capitals and digits after your prefix, a colon, then the secret. The id can be stored and logged in plain text to find the key; only the secret is hashed and checked. AWS access keys and many APIs work this way.

Are an API key and an encryption key the same?

No. An API key identifies and authorizes a caller and is compared, not used to encrypt. An encryption key is raw bytes for a cipher: generate those with your crypto library, or take hex bytes from here and decode them.

Random StringOpen the tool

Is this better than Math.random() in my code?

For anything secret, yes: Math.random is not a cryptographic generator and its output can be predicted. This page uses crypto.getRandomValues; in your own code use crypto.getRandomValues or crypto.randomUUID in the browser and Node.js, or secrets in Python.

Can two strings come out the same?

With 32 letters and digits there are about 2^190 possible strings, so a repeat is not a practical concern. Short strings repeat sooner: turn on No repeats and each list holds every string once (it says so when the settings allow fewer different strings than you asked for), and check uniqueness in your database if you use them as IDs.

How long should a random string be?

It depends on the job. For test data and file names only uniqueness matters: 16 letters and digits give 95 bits. Salts and nonces are usually 16 random bytes (128 bits), which Hex or Base64url give exactly. Secrets and tokens need at least 128 bits.

Number Base ConverterOpen the tool

How do I convert a negative number to binary?

Computers store negative integers as two’s complement: invert every bit of the positive number at a fixed width, then add 1. Pick the width in Bits; -1 is 1111 1111 in 8 bits and FFFFFFFF in 32. The page shows both readings of the same bits, signed and unsigned.

Why does a fraction never end in binary?

A fraction ends in a base only when its denominator divides a power of that base. 0.1 is 1/10, and no power of 2 is a multiple of 5, so in binary it repeats: 0.0(0011). The page shows the repeating part in brackets, or the first 64 digits when the repeat is longer; Places sets how many (1 to 1,024).

Does it keep every digit of a very long number?

Yes, up to 5,000 digits. The headline names the digit count when the number is too long to read in one line; every row below holds the whole number and Copy takes all of it.

Is the number I type uploaded?

No. Everything runs in your browser, so your numbers stay on your device. Nothing you paste is uploaded unless you share it.

Binary to DecimalOpen the tool

Is 11111111 255 or -1?

Both, depending on how the bits are read. As an unsigned byte it is 255; as a signed 8-bit number in two’s complement it is -1. Pick 8 in Bits to see both.

Can I paste more than 64 bits?

Yes. The value is worked out exactly, up to 5,000 digits, so a 128-bit or 256-bit pattern converts to all its decimal digits. The steps by hand show for up to 32 bits.

Is the number I type uploaded?

No. Everything runs in your browser, so your numbers stay on your device. Nothing you paste is uploaded unless you share it.

Decimal to BinaryOpen the tool

How do I convert a decimal fraction to binary?

Multiply the fraction by 2; the whole part (0 or 1) is the next bit, and you go on with what is after the point. 0.625 gives 1.25, 0.5, 1.0: 0.101. Some fractions never end, like 0.1, which repeats 0011 without end; the page shows that part in brackets.

How many bits does a number need?

As many as its binary digits: 255 needs 8, 256 needs 9. With Bits on Auto the page picks the smallest of 8, 16, 32, 64 and 128 that holds it, and says when it doesn’t fit the width you picked.

Can I type 5.72e2 or 1e-3?

Yes. On this page e-notation is read exactly: 5.72e2 is 572 and 1e-3 is 0.001, with exponents up to ±1000. On the number base converter in Auto, 1e3 is also a hex number (483), so it is read as hex and a line says what it would be as decimal.

Is the number I type uploaded?

No. Everything runs in your browser, so your numbers stay on your device. Nothing you paste is uploaded unless you share it.

Hex to DecimalOpen the tool

Is 0xFF the same as FF?

0x is only a prefix that says the digits are hex, so both are 255. In auto mode the page needs the 0x or a letter a–f to know a value is hex; on this page every value is read as hex, so 10 is sixteen.

Can it convert a SHA-256 hash to decimal?

Yes. A 64-character hash is a 256-bit number, and the page keeps every one of its decimal digits, up to 78; calculators that use floating point round it.

Is the number I type uploaded?

No. Everything runs in your browser, so your numbers stay on your device. Nothing you paste is uploaded unless you share it.

Decimal to HexOpen the tool

Should hex be written in capitals?

Either is the same value. Capitals are common in memory dumps and color codes, small letters in hashes and in most code. Pick ff or FF; Copy takes the letters as shown.

How is a negative number written in hex?

As the hex of its two’s complement bits at a fixed width: -1 is ff in 8 bits, ffff in 16 and ffffffff in 32. Pick the width in Bits; the Hex row under it is the value a program at that width stores.

What are the big-endian and little-endian rows?

The bytes as memory holds them from the lowest address. 0x12345678 as 32-bit is 12 34 56 78 big-endian (network order) and 78 56 34 12 little-endian, the order x86 and most ARM computers use. They show from 16 bits up.

Is the number I type uploaded?

No. Everything runs in your browser, so your numbers stay on your device. Nothing you paste is uploaded unless you share it.

Text to BinaryOpen the tool

How much text can it convert?

Up to 2 MB of text at once; written as bytes it comes out several times longer.

Can it use another character set than UTF-8?

Yes. Pick it under Charset: UTF-16 LE or BE, Latin-1, Windows-1250 to 1252, ISO-8859-2, KOI8-R, Shift_JIS, GBK, Big5 or EUC-KR, both ways (EUC-JP and GB18030 read only). A character the set has no bytes for is written as ? and a note names the first one.

Can I see the bytes of a file, or save bytes as one?

Yes. Text → Bytes opens any file and writes its bytes as they are. Bytes → Text with Charset set to File (save bytes) reads the bytes and Download saves them, named by the type they start with, such as decoded.png.

How do I convert binary to text by hand?

Cut the bits into groups of 8, turn each group into a number (01001000 is 64 + 8 = 72) and look the number up in an ASCII table: 72 is H. That works for English; accented letters and emoji take several bytes that only make sense together, which is what UTF-8 decoding does.

Why is my binary 7 bits a letter, not 8?

Old ASCII used 7 bits, and some puzzles and textbooks still write it that way. Turn on 7-bit to write it so (only ASCII text fits in 7 bits); Bytes → Text reads 7-bit groups too and says so in a note above the text.

What does � in the result mean?

Those bytes aren’t valid UTF-8, so they can’t be shown as text: often a byte is missing or extra, the bytes are part of a file such as an image, or the text was saved in another encoding such as Windows-1252. A note above the result says so.

Is the text I convert uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Binary to TextOpen the tool

Why does my binary give strange characters?

Usually a bit was dropped or added, so every byte after it is shifted. Count the bits: a run that isn’t a multiple of 8 shows an error that names it. If the count is right, the bytes may not be text at all.

Does it read 7-bit ASCII?

Yes. Groups of 7 bits are read as 7-bit ASCII, and a note above the text says that is how they were read.

Does it read binary written in groups of 4?

Yes. When every group is 4 bits and there is an even number of them, as in 0100 1000, each pair is read as one byte: 0100 1000 is 72, the letter H.

Can it use another character set than UTF-8?

Yes. Pick it under Charset: UTF-16 LE or BE, Latin-1, Windows-1250 to 1252, ISO-8859-2, KOI8-R, Shift_JIS, GBK, Big5 or EUC-KR, both ways (EUC-JP and GB18030 read only). A character the set has no bytes for is written as ? and a note names the first one.

Can I see the bytes of a file, or save bytes as one?

Yes. Text → Bytes opens any file and writes its bytes as they are. Bytes → Text with Charset set to File (save bytes) reads the bytes and Download saves them, named by the type they start with, such as decoded.png.

Is the text I convert uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Text to HexOpen the tool

How much text can it convert?

Up to 2 MB of text at once; written as bytes it comes out several times longer.

Is this the same as a Unicode code point?

Only for ASCII. The page shows the UTF-8 bytes: € is the code point U+20AC but the three bytes e2 82 ac. Code points are what \u20ac in JSON and &#x20AC; in HTML write.

How do I write the hex in code?

Pick Hex (0xff) with Comma between bytes for an array in C, Java or JavaScript: 0x48, 0x69. Pick Hex (\xff) with None for a C or Python string: \x48\x69. Hex to Text reads 0x48, \x48 and %48 back as they are.

Is the text I convert uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Hex to TextOpen the tool

Why does it say “an odd number of hex digits”?

A byte is two hex digits, so a run like 486 is missing one. A leading 0 is often what was dropped: 0486 or 48 06.

What if the hex isn’t text?

Bytes that aren’t valid UTF-8 show as �, and a note above the result says so. Text in another character set reads right once you pick it under Charset; hex from a file such as an image or a zip can be saved as that file with Charset set to File (save bytes).

Is the text I convert uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

chmod CalculatorOpen the tool

What does chmod 777 do, and why is it a bad idea?

It gives everyone on the machine read, write and execute. Any user or process can change or replace the file, so a script or a web page can be swapped for something else. 755 for programs and directories, 644 for files is usually what’s meant.

What is the difference between chmod 755 and chmod +x?

755 sets the whole mode at once. +x only adds execute and leaves read and write as they were; without u, g or o in front, chmod adds it for every class the umask allows. This page assumes umask 022 for that and says so.

What umask gives 755 directories and 644 files?

umask 022. A umask takes rights away from 777 for new directories and from 666 for new files, so 022 gives 755 and 644, and 027 gives 750 and 640.

How do I chmod only folders, or only files?

With find: find folder -type d -exec chmod 755 {} + sets every directory, and find folder -type f -exec chmod 644 {} + every file. chmod -R alone gives both the same mode.

Is the mode I type uploaded?

No. Everything runs in your browser, so your modes and file names stay on your device. Nothing you paste is uploaded unless you share it.

cURL to CodeOpen the tool

Does the page send my request?

No. It only writes the code. The request goes out when you run the program yourself.

Why are Content-Length and Accept-Encoding left out?

A copied Content-Length is wrong as soon as the body changes, and a copied Accept-Encoding can make the response arrive compressed to a client that only unpacks what it asked for itself. Each client writes these headers on its own, and a note says when they were left out.

What happens to $VARIABLES in the command?

They are written as they are, not filled in, and a note lists them. Replace them in the code with the values you use.

Can I import the request into Postman, Insomnia or a browser?

Pick HAR file as the language: it writes the request as a HAR 1.2 log, which Postman, Insomnia and the browsers’ developer tools import. JSON writes the same parts as plain JSON for your own scripts.

Why does the code turn off retries and redirects?

curl sends a request once and follows a redirect only with -L. Clients such as got, ky, Req and OkHttp retry or follow redirects on their own, so the code sets them to do what the command did.

Is my command uploaded?

No. Everything runs in your browser, so your command stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Copied commands often hold tokens and passwords, and the page warns you if it spots one.

URL ParserOpen the tool

Why is the host shown as xn--…?

That is punycode, the form an international domain name takes on the wire: münchen.de is sent as xn--mnchen-3ya.de. The page shows the name as you typed it next to it.

Is + in a query a plus or a space?

In the query of a URL, as HTML forms write it, + means a space, so q=json+yaml reads as “json yaml”. A real plus sign is written %2B. In the path, + is just a plus.

Can a URL hold the same parameter twice?

Yes, and many servers read that as a list (tag=a&tag=b). Every occurrence is listed here in its order; Query sorted by name keeps repeated ones together and in their order.

Is the URL I paste sent anywhere?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

User Agent ParserOpen the tool

Can I trust a user agent?

No: any client can send any string, and bots often copy a browser’s. Use it for statistics and for working around a known browser bug, not for security. To confirm a Googlebot or Bingbot visit, check that the IP address resolves back to google.com or search.msn.com.

How many lines can it read?

Up to the 10 MB input limit, tens of thousands of log lines; the reading runs in the background of your browser, so the page keeps answering. Every line is counted; the first 500 are listed one by one.

Is my log uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

JSON CompareOpen the tool

Does it ignore the order of keys?

Yes. JSON objects are unordered, so {"a":1,"b":2} equals {"b":2,"a":1}.

Can I see the two documents side by side?

Yes, that is the default view. Both sides are shown with keys sorted A–Z, so only real changes are highlighted. Switch to Inline for one column, or to Table for a list of paths with old and new values.

Can it ignore the order of array items?

Yes, tick "Ignore array order". Without it, items are compared by position, so [1, 2] and [2, 1] differ. With it, items are matched by value, so [1, 2, 3] equals [3, 1, 2], and only items without a match are reported as added or removed.

Is 1 the same as 1.0?

Yes. Numbers are compared by value, so 1, 1.0 and 1e0 are equal. Very large integers are compared digit by digit, so no precision is lost.

What if one side isn’t valid JSON?

Nothing is compared. The page names the side, the line, the column and the reason, so you can fix it first.

Is my JSON uploaded?

No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. We don’t save or log what you paste.

Text & Code DiffOpen the tool

Is my text uploaded or saved?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. We don’t save or log what you paste. Recent work keeps your last diffs in this browser; turn it off in Settings.

Why is every line marked as changed?

Usually the indentation changed: tabs against spaces, or the whole file re-indented. Press Spaces to ignore it. Windows and Unix line endings are already read as the same.

How big can the texts be?

Up to 10 MB for the two together. The diff runs off the main thread, and very long results are shown up to a limit with the totals kept exact.

Can I ignore timestamps, IDs or other text that always differs?

Yes: type a JavaScript regular expression under Ignore matches of, such as \d{4}-\d\d-\d\dT[\d:]+Z for ISO times. Its matches are left out of the comparison, so lines that differ only there count as the same, and the words inside a match are not marked.

Can I merge changes from one side into the other?

Yes, side by side: the first line of each block of changes has an arrow. → copies that block from the original into the changed text, ← the other way; the texts update and the comparison runs again. Line endings stay those of the text that changes.

What algorithm is used?

A line diff based on the Myers algorithm (the same idea as git diff), followed by a word or character diff on each changed line pair.

Can I get the differences as a patch file?

Yes: Copy patch copies a unified diff, as diff -u and git diff write it. Save it as a .patch file and apply it to the original with patch, naming the file: patch notes.txt changes.patch.

CSV DiffOpen the tool

Can I compare two Excel sheets?

Save each sheet as CSV (File → Save As → CSV) and compare the two files here.

Why is every row changed?

The rows were most likely matched by position while one file is sorted differently. Choose a column that identifies a row, such as id, as the Key.

Are my files uploaded?

No. Everything runs in your browser, so your CSV stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Case ConverterOpen the tool

What is the difference between camelCase and PascalCase?

Both join the words without spaces and start each word with a capital. camelCase starts with a small letter (userAccountId), PascalCase with a capital (UserAccountId). JavaScript uses camelCase for variables and PascalCase for classes and components.

How are acronyms like HTTP or JSON converted?

In the code cases an acronym is one word, written like any other word: XMLHttpRequest becomes xml_http_request in snake_case and xmlHttpRequest in camelCase, as most style guides ask. Title Case keeps a word in capitals as it is, so “intro to the JSON API” becomes “Intro to the JSON API”; a line written all in capitals, like “JSON API” alone, becomes “Json Api”.

Which Title Case style should I use?

The one your publication follows: AP for news and many blogs, APA for psychology and social science papers, Chicago for books, MLA for humanities papers, AMA for medical writing. The table above shows how each treats the same headline; when no guide is set, Chicago is a safe default.

Why did my acronym or brand name lose its capitals?

Turn on Keep names, so words in capitals or mixed case stay as they are; a sentence written all in capitals is lowered, since there every word is in capitals. For a name the page doesn’t know, type it in Keep: “ACME, iPhone, New York” writes those as typed in every case for writing.

Can I convert a whole list of names at once?

Yes. Each line is converted on its own, so paste a column of names, keys or headings, one a line, and they come back in the same order, each in the new case.

Why did ß become SS in upper case?

That is the Unicode rule: the standard capital of the German ß is SS (a capital ẞ exists but is rarely used), so UPPER CASE writes Straße as STRASSE. Greek gets its final ς in lower case by the same rules, and the result is the same in every browser language.

Is the text I convert uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Remove Duplicate LinesOpen the tool

Which copy of a duplicate line is kept?

The first one. Later copies are removed and the kept line stays in its place, unless you choose a sorted order. With Ignore case on, the kept line keeps the case it was written in the first time.

How many lines can it handle?

The page stays responsive while it works because the work runs in the background of your browser. Files over 10 MB are not read.

Can it remove duplicate words instead of lines?

It compares whole lines. To dedupe words, put one word on each line first, for example with your editor’s find and replace (a space to a new line).

Is my list uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.

Character & Word CounterOpen the tool

Is the text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share it.

Can I count the words in a Word document?

Yes: open a .docx or .odt file and its body text is counted, paragraphs a blank line apart. Headers, footers, footnotes and deleted tracked changes are left out, as Word’s own count does by default. For a PDF, take its text out with TuckPDF’s PDF to Text (tuckpdf.com/pdf-to-text), our PDF site, and paste it here.

Are spaces counted as characters?

Yes: Characters counts spaces, tabs and line breaks. Characters without spaces leaves all of them out.

Why does JavaScript say my text is longer?

JavaScript’s length counts UTF-16 units. Emoji and some rare characters take two units each, and a joined emoji such as a family takes many, while a person sees one character.

How are lines counted?

Each line break (Windows CRLF, LF or CR) starts a new line, so text that ends with a line break has an empty last line. “Lines with text” leaves out empty lines and lines of spaces only.

Why is the UTF-8 count larger than the character count?

UTF-8 writes English letters, digits and ASCII punctuation in 1 byte, accented Latin, Greek, Cyrillic and Arabic letters in 2, most other scripts, Bangla and Chinese included, in 3, and emoji in 4.

What does “lone surrogate” mean?

Half of a UTF-16 pair with no other half, usually from text cut in the middle of an emoji. It can’t be written in UTF-8, so encoders replace it with �, which is 3 bytes.

Lorem IpsumOpen the tool

What does Lorem ipsum mean?

Nothing, as it is printed: the words are Latin, taken from Cicero and scrambled, so the sentences don’t make sense. The passage they come from is about not loving pain for its own sake.

Should I use Lorem ipsum or real text in a design?

Placeholder text is good for judging a layout before the words exist. Before launch, try the real text too: real headings are often longer or shorter than Lorem ipsum, and other languages run longer than English, so check that nothing breaks with them.

Can I get Lorem ipsum in Arabic, Hebrew or other scripts?

Pick a Script: Cyrillic, Greek, Armenian, Georgian, Hebrew, Arabic, Devanagari, Bengali, Japanese katakana or Korean Hangul. Each Latin word is spelled out in that script, so the text means nothing in any language, as Lorem ipsum doesn’t, while showing how the script wraps, how tall its letters sit and, for Hebrew and Arabic, how right-to-left text lines up. Chinese characters are not offered: picked at random they form real words.

Is the text different each time?

Yes. Each Generate picks new words with your browser’s random number generator, except the standard opening when Start with Lorem ipsum is on.

Markdown EditorOpen the tool

Which Markdown does it follow?

CommonMark, with GitHub’s extensions: tables, task lists, strikethrough, links written as plain addresses, and footnotes. GitHub-only additions, such as > [!NOTE] alerts, :emoji: codes, math and Mermaid diagrams, are not drawn.

Can I print it or save it as a PDF?

Yes. Print or save as PDF, under the preview, opens your browser’s print dialog with the page in light colors; pick Save as PDF there. Long code blocks wrap and web links print their address. For an HTML file to share, choose Full page under Options on the HTML view: it adds a title from your first heading and the same reading styles, light or dark with the reader’s system.

Why does an image show as text in the preview?

Images from other sites are not loaded in the preview, so it never calls another site. You see the image’s alt text instead; the HTML keeps the image as written. Images written as data: URLs are drawn.

Can a script in my Markdown run in the preview?

No. The preview frame may not run scripts, and the HTML is cleaned before it is drawn, so scripts, onclick-style attributes and javascript: links are left out. The HTML you copy keeps your HTML as GitHub would, so clean it before showing it to others.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for drafts, internal docs and notes.

Markdown to HTMLOpen the tool

Does it keep HTML that is already in the Markdown?

Yes, as written, as GitHub does, except nine tags GitHub filters, such as script and iframe, which come out as text. The preview leaves out anything that could run.

Why are there no html, head or body tags?

By default the result is the part that goes inside a page’s body, ready to paste into a template, a CMS or an email. For a whole document, choose Full page under Options: it adds the doctype, a title from your first heading, and reading styles that follow the reader’s light or dark setting and print in light colors. It loads nothing from other sites.

Why does an image show as text in the preview?

Images from other sites are not loaded in the preview, so it never calls another site. You see the image’s alt text instead; the HTML keeps the image as written. Images written as data: URLs are drawn.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for drafts, internal docs and notes.

HTML to MarkdownOpen the tool

What happens to scripts, styles and comments?

They leave nothing in the Markdown. Elements Markdown has no form for, like div and span, give their text without the tag.

Which Markdown does it write?

GitHub Flavored Markdown: # headings, - for lists, * for emphasis, ``` fences for code, and GitHub tables. It reads back the same on GitHub and in most editors.

Can I match my project’s Markdown style?

Yes, under Options. Headings can be underlined (=== and ---) instead of #; this works for h1 and h2 only, so h3 to h6 keep #. Lists can use -, * or +, rules ---, *** or ___, emphasis and strong * or _. Code can be fenced with ``` or ~~~, or indented four spaces; indented code still gets a fence when it names its language, since an indented block can’t carry one. Reference links write [text][1] in the text and list each address once at the end. Every choice reads back to the same page.

Is my text uploaded?

No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for drafts, internal docs and notes.

Unix TimestampOpen the tool

What is a Unix timestamp?

The number of seconds since 1 January 1970 00:00:00 UTC (the Unix epoch), not counting leap seconds. It is the same everywhere in the world; time zones only matter when you display it.

What is the year 2038 problem?

Signed 32-bit integers hold timestamps up to 2147483647 = 19 January 2038 03:14:07 UTC. Systems that still store time in 32 bits will overflow then; 64-bit timestamps are fine for billions of years.

Why is my converted time off by some hours?

The timestamp is UTC; the hours you see depend on the time zone. Check which zone the other system shows, and remember daylight saving time changes the offset during the year.

Does it use the daylight saving rules of the date, or today’s?

The rules in force on that date, from the time zone database your browser carries. In New York, 20 March 2006 noon UTC reads 07:00 EST (UTC−5), since daylight saving then began in April, while the same day in 2007 reads 08:00 EDT under the rules from 2007.

How do I get the start and end of a day as timestamps?

Enter any moment of that day: Start and end lists the first and last Unix second of its day, month and year in the chosen time zone. A 23- or 25-hour day around a clock change comes out at its real length, and a day whose midnight is skipped starts at its first real time.

How do I get or convert Unix time in code?

Enter the timestamp and open “This timestamp to a date, in code” or “The current Unix time, in code”: JavaScript, Python, Java, Go, Rust, SQL dialects, shells, Excel and more, with the number already in place and a note where a function reads local time.

How do I convert an LDAP or Active Directory timestamp?

Paste the 18-digit number, as pwdLastSet or lastLogonTimestamp hold it. It counts 100-nanosecond ticks since 1 January 1601 UTC; the date is listed as LDAP / FILETIME. To read a whole column of them, choose Batch and the LDAP unit. Every result also gives its own LDAP value.

Can it convert many timestamps at once?

Yes: choose Batch and paste one per line, up to 1,000. Each line gets its UTC time, the time in your chosen zone and how long ago it was; a line it can’t read is named. Copy as CSV puts the table in a spreadsheet.

Cron ExplainerOpen the tool

Which time zone does cron use?

The time zone of the machine or service running it. GitHub Actions and AWS EventBridge rules use UTC; a Kubernetes CronJob without a timeZone uses its controller’s zone, often UTC. Pick the zone above to see the run times as the scheduler will.

How do I write a cron expression for every weekday at 9:00?

Choose Build, set Minute to "At these minutes" 0, Hour to "At these hours" 9, and Day of week to "Between" Mon and Fri. The expression is 0 9 * * 1-5; the preset "Weekdays at 9:00" gives the same.

Does it support seconds?

Yes. With 6 fields, the first one is seconds, as in Quartz, Spring and node-cron.

Why does 0 0 12 ? * 2 run on Monday here?

The ? makes it a Quartz expression, and Quartz counts the day of week from 1 = Sunday, so 2 is Monday. In Linux cron 2 is Tuesday. Pick Linux cron under Read as to read the numbers the cron way.

What happens during daylight saving changes?

In zones with DST, a run at a skipped time (e.g. 02:30 on the spring-forward night) may not happen, and one in the repeated hour may happen twice, depending on the scheduler. The next-run list shows the real times in the chosen zone.

Cron ExamplesOpen the tool

How do I run a cron job every 5 minutes?

*/5 * * * * runs at :00, :05, :10 and so on, every hour of every day. 5 divides 60, so the gap is always 5 minutes.

What is the difference between @daily and 0 0 * * *?

None in Vixie cron and cronie: @daily (or @midnight) is 0 0 * * *, @hourly is 0 * * * *, @weekly 0 0 * * 0, @monthly 0 0 1 * *, @yearly 0 0 1 1 *. @reboot runs once at start-up and has no five-field form.

How do I run a job on weekdays only?

Put 1-5 in the last field: 0 9 * * 1-5 is 9:00 Monday to Friday. 0,6 (or 6,0) is Saturday and Sunday.

Why did my job not run at the time I wrote?

Most often the zone: the server runs cron in its own zone, often UTC. Then the day fields: with both a day of month and a day of week set, cron runs when either matches. Paste the expression in the box to see its next runs in the zone you pick.

ObjectId ↔ TimestampOpen the tool

Can I get the creation time in mongosh directly?

Yes: ObjectId("…").getTimestamp() returns the date. In Node.js it is new ObjectId(id).getTimestamp(); in Python, ObjectId(id).generation_time.

Can I insert the ObjectId made from a date?

Not as a real id. It holds the time followed by zeros, so every id made for the same second is the same one, and a second insert would clash. Use it as a bound in an _id range query; New ObjectId (or your driver) makes unique ones. The code under the query writes both helpers for mongosh, Node.js and Python.

Is the ObjectId time reliable?

It is the clock of the machine that generated the id, usually the app server’s driver, to the second. If the app creates the id well before the insert, or that clock is wrong, the time differs from the real insert time.

Are my ids uploaded?

No. Everything runs in your browser, so your ids stay on your device. Nothing you paste is uploaded unless you share it. Decoding is plain arithmetic, with no database connection.

Extended JSONOpen the tool

Why can’t JSON.parse read my mongosh output?

mongosh prints JavaScript, not JSON: unquoted keys, single quotes and helpers like ObjectId(…) and ISODate(…). This converter understands that syntax and turns it into real JSON.

Which strings become ObjectIds in JSON → EJSON?

24-character hex strings in _id, id and fields ending in Id, ID or _id (customerId, user_id). Other hex-looking strings stay strings. Turn the option off to keep every string as is.

Is my data uploaded?

No. Everything runs in your browser, so your data stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Conversion uses the official bson library, with no database connection.

Aggregation FormatterOpen the tool

Does it run my pipeline?

No. It reads and rewrites the text; nothing connects to a database, so the explanations describe what each stage does, not your data. Run the result in mongosh or Compass to see documents.

Can I paste it back into Compass?

Yes. Compass’s pipeline text view takes the array of stages: paste a bare […] here, choose mongosh, and the result stays a bare array in mongosh syntax. Turn Explain stages off if you don’t want the comments.

Is my pipeline uploaded?

No. Everything runs in your browser, so your pipeline stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. Formatting and code generation run in a worker in this tab.

SQL to MongoDBOpen the tool

Does it run my query?

No. It reads the SQL and writes the MongoDB query; nothing connects to a database. Run the result in mongosh, Compass or your program to see documents.

Which SQL dialect does it read?

The common part of PostgreSQL, MySQL, SQL Server and SQLite: double quotes, backticks and [brackets] around names, LIMIT, OFFSET and FETCH FIRST, || and CONCAT, ILIKE, ::type casts and -- and /* */ comments.

Is my query uploaded?

No. Everything runs in your browser, so your query stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. The conversion runs in a worker in this tab.