Developer tools
Encoding, digests, data formats, network lookups, and a WebSocket client. These pages do not share one form. A hash is not a cipher, a query string is not a JWT, and the socket page is the only one that connects to an address you type.
Encode and decode
Base64
Base64 writes bytes as letters, digits, plus, and slash. It is how a token or a file preview survives a text field. It does not hide the contents from anyone who can read the alphabet.
URL encode
Reserved characters in a URL have jobs. A space, an ampersand, or an equals sign inside a value must be escaped or the query will split in the wrong place.
HTML entities
Browsers treat < as the start of a tag. If the characters are meant to be seen, the HTML source needs < instead. This page writes that source. It does not render it.
JWT decode
A JWT is header, payload, and signature, separated by dots. The first two parts are readable JSON. The third part is a signature over those two parts, not a place to hide the claims.
Hex
Hex is a way to show raw bytes. This page encodes text as UTF-8 first, then prints each byte. Decoding accepts only an even number of digits and rejects bytes that are not UTF-8.
Unicode
A character you see may be one code point or several. This page lists the first 80 code points, with U+ notation, decimal, UTF-8 bytes, and a JavaScript escape.
Punycode
DNS labels are ASCII. Punycode stores the other characters in a label that starts with xn--. This page converts each label and leaves an already-ASCII label alone.
Base32
Base32 uses a 32-character alphabet so a value can survive a case-insensitive system.
Base58
Base58 leaves out characters that people mix up when they copy a value by hand.
Base62
Base62 uses digits and both letter cases, which fits tokens that allow mixed case.
Base64URL
Base64URL swaps + and / for - and _, and this page omits the padding.
Ascii85
Ascii85 packs four bytes into five printable characters.
ROT13
ROT13 moves each English letter 13 places. Applying it twice returns the original.
ROT47
ROT47 shifts every printable ASCII character by 47 places in the range from ! to ~.
Atbash
Atbash pairs A with Z, B with Y, and so on.
Morse
Morse here covers English letters and digits.
Binary text
Each UTF-8 byte is printed as eight bits, separated by spaces.
Octal bytes
Each UTF-8 byte is printed as three octal digits.
ASCII codes
Each character becomes its decimal code from 0 to 127.
JSON string
The result is a JSON string, including the quotes JSON.stringify adds.
XML escape
The five characters & < > " ' become named entities.
HTML numbers
Every character becomes an &#number; entity.
Quoted-printable
Printable ASCII stays readable. Other bytes, spaces, and equals signs become =HH.
Backslash escapes
Newlines, tabs, quotes, and backslashes become \n, \t, \", and \\.
UTF-16 hex
Each UTF-16 code unit is printed as four hex digits.
Digests and encryption
Hash
A hash is a fixed-length fingerprint. The same bytes always produce the same digest, and the digest is not a way back to the file. Use it to compare a download or to spot a changed string.
HMAC
HMAC mixes a secret key into the hash so someone who can see the message still cannot forge the tag. Hashing the key and the message yourself, one after the other, is not HMAC.
Encrypt
This page locks a message you can read again only with the same passphrase. The package is specific to Glazlo. OpenSSL and a password manager will not know the byte layout.
Password
A password from a coin-flip source is stronger than a word you adapted. This page draws each character from the sets you leave on, and then forgets it when you leave.
CRC-32
The checksum is the common ZIP and PNG polynomial, printed as eight lower-case hex digits.
Generators
QR code
A QR code stores the characters you type, plus error-correction bits so a smudge can still scan. This page draws that symbol, and it can read one back from a picture you choose.
UUID
A version 4 UUID is a random id in a fixed shape. Databases use it when they do not want a guessable counter. It is not a secret and not a checksum.
ULID
A ULID sorts by creation time and still has a random tail, so two ids made in the same millisecond are not the same. It is an identifier, not a secret.
Token
A token is a string of random bits. This page draws 8 to 64 bytes and prints hex or base64url, the form often used in URLs.
Lorem
Layout needs text that is not the final sentence. This page repeats the standard lorem ipsum word list as words, sentences, or paragraphs.
Random id
Characters are chosen from the alphabet with a rejection sample, so each character is unbiased.
Dice
Each die is an independent draw from 1 through the number of sides.
Random MAC
The address has the locally administered bit set and the multicast bit clear, so it does not pretend to be a factory address.
Random IPv4
All four bytes are random, including addresses that are reserved or private.
Random color
Three bytes become #rrggbb.
Number sequence
The run starts at From and steps until it passes To.
Sample JSON
Each item has an id, the label sample, and ok set to true.
Data formats
JSON
JSON is a data format with strict commas, quotes, and no comments. This page parses what you paste and prints it again with an indent, or on one line.
YAML
YAML is easier to scan than a one-line JSON object, and JSON is what most programs parse. This page converts between them for a plain subset.
CSV
CSV is a table in text. This page parses quotes and doubled quotes, then prints JSON, or walks a JSON array and prints CSV.
XML
A long XML line is hard to read. This page indents elements by two spaces, or removes the indent. It does not try to repair a broken tag.
Timestamp
Unix time counts seconds from the start of 1970 in UTC. JavaScript often counts milliseconds instead. Mixing the two shifts the date by about thirty years, or by a factor of a thousand.
Cron
Cron is five fields. This page tells you what they select and computes the next five matches in this device's local time.
Query string
A query string is a list of pairs, not one encoded blob. This page splits q=red&size=42 into rows you can edit, then joins them back.
Network
WebSocket
A WebSocket stays open and carries frames in both directions. This page is a client: you choose the address, watch the ready state, and send text. It is not an interceptor for some other app.
URL parts
A URL is several fields joined by punctuation. This page uses the browser's URL parser and lists each part, including every query parameter.
Subnet
A prefix says how many leading bits are the network. This page applies that mask to an IPv4 address and lists the addresses at the ends of the block.
HTTP status
Status codes are grouped by the first digit. This page lists the ones that show up in APIs and browsers, with a one-line meaning.
MIME types
The list pairs a file extension with the media type usually sent for it.
Ports
The list names the service usually found on that TCP or UDP port.
HTTP methods
Each method has one sentence about how it is normally used.
Email shape
The page checks the local part, an @ sign, and a domain with a dot.
IP in range
The address and the block are compared with the prefix mask.
MAC address
Twelve hex digits are shown with colons, with dashes, in Cisco groups, and bare.
Data URL
The page reads the media type, whether the payload is Base64, and a short preview of the text.
Basic header
The user and password are joined with a colon and encoded as Base64.
User-Agent
The page looks for a few well-known browser and system tokens.
HTTP header
The name must be a token. The value cannot contain a line break.
Text
Regex
Regular expressions in JavaScript are not the same as PCRE or .NET. This page uses the RegExp your browser already ships, so a match here is a match in frontend code.
Case
Code style is mostly about where the word breaks sit. This page finds those breaks and prints the same words in the forms languages usually want.
Slug
A slug is the readable tail of a URL. This page lowercases the text, removes accents, and joins the remaining words with hyphens.
Lines
Lists in a text box are awkward to clean by hand. This page trims, filters, sorts, or reverses the lines, and always shows the counts.
Diff
Two copies of a list or a config rarely differ in every line. This page marks lines that only the first text has and lines that only the second text has.
Number bases
255, 0xFF, and 11111111 are one integer written three ways. This page keeps that integer exact and shows the other spellings beside the field you edit.
Permissions
chmod talks in octal and in letters. This page shows both for the same bits, including the extra digit for setuid, setgid, and the sticky bit.
Reverse text
The characters are reversed in memory order of Unicode code points.
Reverse words
Words stay intact and the gaps between them stay the same size.
Reverse lines
The line order is flipped. Characters inside a line stay.
Sort lines A to Z
Lines are ordered with English alphabetical comparison.
Sort lines Z to A
Lines are ordered from Z toward A with the same English comparison as the ascending page.
Unique lines
The first copy of a line is kept. Later exact copies are removed.
Unique lines, ignoring case
A and a count as the same line. The first spelling is the one that stays.
Remove blank lines
A line of spaces is treated as blank and removed.
Trim lines
Spaces and tabs at both ends of every line are removed.
Collapse spaces
Runs of spaces and tabs become one space. Space around a line break is removed.
Tabs to two spaces
Every tab character becomes two spaces, wherever it sits.
Tabs to four spaces
Every tab character becomes four spaces.
Spaces to tabs
Only indentation at the start of a line is converted, in groups of four spaces.
Number lines
Each line gains a counter and a bar. The counter is padded so the bars line up.
Prefix lines
The prefix is pasted in front of every line, including blank ones.
Suffix lines
The suffix is pasted at the end of every line.
Upper case
English letters become upper case.
Lower case
English letters become lower case.
Title case
The first ASCII letter of each word becomes upper case. The rest of the word becomes lower case.
snake_case
Words are split on anything that is not a letter or digit, then joined with underscores.
camelCase
The first word stays lower case. Later words start with an upper-case letter.
PascalCase
Every word starts with an upper-case letter, including the first.
CONSTANT_CASE
Words are upper case and joined with underscores.
Remove punctuation
Unicode punctuation and symbols are deleted.
Remove accents
Letters are decomposed and the accent marks are deleted. café becomes cafe.
Strip tags
Anything from < to the next > is removed. A few named entities are then turned back into characters.
Extract URLs
Each http or https URL is copied onto its own line.
Extract emails
Text that looks like a mailbox is copied onto its own line.
Extract numbers
Integers and simple decimals are copied onto their own lines.
Word count
Characters follow Unicode code points. Words are split on whitespace.
Wrap lines
Words are moved onto the next line when the current line would pass the width.
Dedent
The shortest indent on a non-empty line is removed from every line.
Numbers
Percent
The part is divided by the whole and shown as a percent and as a ratio.
Percent change
The result is (new − old) ÷ old, written as a percent.
Simplify a ratio
Both numbers are divided by their greatest common divisor.
Roman numerals
An integer from 1 to 3999 becomes the usual Roman spelling. A Roman spelling becomes an integer.
Byte sizes
The same count is shown in binary units (1024) and decimal units (1000).
Temperature
Enter one temperature and the unit it is already in. The page prints all three.
Length
Units: mm, cm, m, km, in, ft, yd, mi.
Weight
Units: mg, g, kg, t, oz, lb.
Duration
The millisecond count is split into days, hours, minutes, and seconds.
GCD and LCM
Both results use integer arithmetic, so a very long integer stays exact.
Prime check
The page tests divisibility up to the square root.
Factorial
n! is 1 × 2 × … × n, computed with integers.
Fibonacci
F(0) is 0 and F(1) is 1. Each later number is the sum of the two before it.
Number stats
The page shows the count, sum, mean, median, min, max, and population standard deviation.
Modulo
The page shows the remainder with the sign of the dividend, and a non-negative remainder.
Bitwise
AND, OR, and XOR are shown in decimal. AND is also shown in hex. The left value is shifted by one in each direction.
Time
Date difference
The count is the number of midnights from the first date to the second, in this device's calendar.
Add days
The day count can be negative, which moves backward.
ISO week
The week starts on Monday. Week 1 is the week that contains the first Thursday of the year.
Day of year
1 January is day 1. A leap day moves every later date up by one.
Weekday
The name follows the language of this page.
Age
The count runs from the date you enter to today on this device.
Quarter
January through March is Q1. Each later block of three months is the next quarter.
Date parts
The page lists the year, month, day, weekday, and ISO week.
Color and units
Color
The same color is written as hex, RGB, or HSL depending on the file. This page parses one of those forms and prints the other two.
px and rem
rem is relative to the root font size, not to the parent. This page divides or multiplies by the root you set.
Contrast
The ratio uses the WCAG relative luminance of the two opaque colors.
Mix colors
0 keeps the first color. 100 is the second color. 50 is the midpoint of each channel.
Complement
The hue is rotated 180 degrees. Saturation and lightness stay.
Hex alpha
The alpha is a number from 0 to 1. It is written as the last two hex digits.
CMYK
The conversion uses the simple formula with black pulled out of the darkest channel.
Box shadow
The four lengths are offset x, offset y, blur, and spread, in pixels.
Border radius
The four numbers are the top-left, top-right, bottom-right, and bottom-left corners, in pixels.
CSS gradient
The angle runs from 0 to 360 degrees. The two colors are the ends of the gradient.