๐ Base64 Encoder / Decoder
Encode text to base64 or decode base64 back to text. Full UTF-8 support including emoji and non-Latin scripts.
Developer utilities: encoders, decoders, parsers, formatters and reference databases like HTTP status codes and MIME types.
Encode text to base64 or decode base64 back to text. Full UTF-8 support including emoji and non-Latin scripts.
Convert integers between any bases from 2 to 36 โ binary, octal, decimal, hexadecimal and beyond โ with BigInt precision (no limit on magnitude).
Convert text between nine letter cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. camelCase boundaries are split automatically.
Decode a JSON Web Token's header and payload to readable JSON. Pure decoding: signatures are NOT verified and no secret is needed. Claims like exp and iat are rendered as dates.
Percent-encode text for safe inclusion in URLs and query strings, or decode percent-encoded text back. Uses the standard encodeURIComponent rules.
Validate JSON with precise error messages, pretty-print it with any indent, and inspect its top-level type and element counts.
Reference database of HTTP response status codes with phrase, category and explanation. Look up a specific code or list a whole category (1xxโ5xx).
Look up MIME content types by type substring or file extension, or list a category โ covering text, application, image, audio, video, font and multipart types used in web APIs.
Estimate how many tokens a text consumes for each major model family (GPT, Claude, Gemini, Llama, DeepSeek) using a character/word heuristic that is within ~10% of real BPE tokenizers โ enough for context budgeting and cost math, with zero dependencies.
Calculate the API cost of an LLM call: input and output tokens ร published per-million prices for 15 current models (OpenAI, Anthropic, Google, DeepSeek, xAI, Meta). Batch multiplier included for monthly estimates.
Split text into retrieval-friendly chunks with a token budget and sentence-aware boundaries. Overlap between consecutive chunks preserves context across splits โ the standard preparation step before embedding.
Compute exact hash digests of UTF-8 text using Web Crypto (SHA family) and a verified pure-JS MD5 for legacy checksums. Deterministic โ identical input always yields the identical digest.
Generate cryptographically random UUIDv4s or time-sortable UUIDv7s from a real CSPRNG, and validate any UUID's format, version and variant bits.
Scan unstructured text and extract structured entities: email addresses, URLs, IPv4 addresses, phone numbers and domains. Deduplicated, categorized, machine-ready.
Compare two texts line by line using an LCS diff: exact additions, removals and context โ in unified-diff style. Deterministic, unlike asking a model to 'find the differences'.
Parse a URL into all its components: protocol, hostname, port, path segments, query parameters (as a clean object), hash and credentials. Exact โ no guessing by eye.