Which developer tool answers which question
The ten tools here cover text and data handling that comes up in web and software work. Base64 Encoder Decoder, Base64Url Encoder Decoder and Url Encoder Decoder turn data into text that is safe to send through systems built for plain characters. Unicode Converter, Utf8 Byte Converter, Ascii Converter and Utf8 Byte Length Calculator deal with how characters map to numbers and bytes. Integer Base Converter changes the base of a whole number. Csv To Json Converter and Json Validator Formatter handle structured data. The two topics, Structured text and Text encoding, group these into smaller sets if you want a narrower list. The tools fall into three jobs. Encoding makes text safe for a channel, as with the Base64, Base64Url and Url pages. Inspection shows what a string is made of, as with Unicode Converter, Ascii Converter and Utf8 Byte Converter. Conversion changes representation of data, as with Integer Base Converter and Csv To Json Converter. Knowing the job helps pick the page. If you are debugging an API request that fails only for names with accents, you need inspection and URL encoding. If you are preparing a spreadsheet for an API, you need conversion and validation. Mixing up the jobs, such as Base64-encoding a URL parameter that needed percent-encoding, produces results that are valid but wrong for the destination.
Characters, code points and bytes
Three ideas are easy to confuse. A character is what a reader sees, a code point is its number in the Unicode standard (written U+0041 for A), and a byte sequence is how that number is stored. Unicode defines code points from U+0000 to U+10FFFF. ASCII covers the first 128, U+0000 to U+007F. UTF-8, defined in RFC 3629, stores each code point in one to four bytes. Many bugs come from treating one character as one byte. The Unicode Converter, the Ascii Converter and the Utf8 Byte Converter each show a different view of the same text.
Percent-encoding and URLs
URLs may contain only a limited set of characters. Others are written as a percent sign followed by two hexadecimal digits, as set out in RFC 3986. A space becomes %20, and a slash inside a parameter value becomes %2F so it is not mistaken for a path separator. Non-ASCII characters are first converted to UTF-8 bytes and each byte is encoded, so é becomes %C3%A9. HTML form encoding writes spaces as plus signs, which is a related but different convention. The Url Encoder Decoder is useful when building query strings by hand or when a link in a log is unreadable.
Base64 and its URL-safe variant
Base64, defined in RFC 4648, represents binary data using 64 printable characters (A to Z, a to z, 0 to 9, plus and slash), with equals signs as padding. Every 3 bytes become 4 characters, so the encoded text is about 33 percent larger than the original. It is an encoding and not encryption, because anyone can decode it. The URL-safe variant swaps plus and slash for hyphen and underscore, so the text survives in URLs and filenames, and many systems omit the padding. JSON Web Tokens use this variant. Use the Base64 Encoder Decoder for general payloads and the Base64Url Encoder Decoder when the text will travel in a URL or token.
Counting bytes versus counting characters
Limits in databases, APIs and messaging systems are often stated in bytes, while people count characters. In UTF-8 the letter A takes 1 byte, é takes 2 (C3 A9), the euro sign takes 3 (E2 82 AC), and an emoji such as U+1F600 takes 4 (F0 9F 98 80). A field limited to 255 bytes may hold only 85 characters of text written in a script that needs 3 bytes per character. The Utf8 Byte Length Calculator counts the bytes a string needs, which is the number to compare against a limit. Counting characters with a string-length function can give a different figure again, depending on the programming language.
Number bases for programmers
The Integer Base Converter moves a whole number between positional systems such as binary, octal, decimal and hexadecimal. Hexadecimal is popular because each digit represents exactly four bits, so a byte is two hex digits. The decimal number 255 is FF in hexadecimal and 11111111 in binary, and 4,096 is 1000 in hexadecimal. Color codes, memory addresses and byte dumps use hex, while file permissions on Unix systems use octal digits. Watch for prefixes such as 0x for hex and leading zeros that some languages treat as octal. The converter works with signed whole numbers in bases 2 through 36, so fractions are rejected. The Ascii Converter lists decimal codes for characters in the range 0 to 127 and rejects anything outside it.
CSV and JSON as data formats
CSV stores rows of values separated by commas, and RFC 4180 describes the common form: fields containing commas, quotes or line breaks are wrapped in double quotes, and a quote inside a field is doubled. JSON, defined by RFC 8259, represents objects, arrays, strings, numbers, true, false and null, with double-quoted keys. Converting CSV to JSON can assign each row to an object using the header names. The Csv To Json Converter keeps every cell as a string, with no guessing of numbers or dates, and rejects duplicate headers and ragged rows by default. The Csv To Json Converter helps when feeding a spreadsheet to an API, and the Json Validator Formatter checks that a document parses and lays it out readably.
Common errors across these tools
The most common problems are double encoding (applying percent-encoding twice so %20 becomes %2520), decoding with the wrong character set, and mixing up Base64 with Base64url. A trailing comma is legal in many programming languages but not in JSON. Large integers above 2^53 lose precision in JavaScript. When a result looks like random symbols, suspect a character set mismatch before suspecting the tool.
Worked examples to test your understanding
Try a few values by hand before trusting any tool. The text Hi encodes to Base64 as SGk=, with one padding sign because two bytes leave a partial group. The decimal number 255 is FF in hex, 377 in octal and 11111111 in binary. The string café is 4 characters but 5 bytes in UTF-8, because é takes two. A CSV line with the header id,name and a row 1,"Smith, Ann" gives an object whose name value contains the comma, because the quotes keep the field together. Each example uses one rule from the sections above and can be checked by decoding the output. Encoding and formatting do not protect data. Base64 text can be decoded by anyone, and a URL with encoded parameters still shows the values to anyone who sees the link. Avoid pasting passwords, API keys or personal records into any online tool unless you are comfortable with that exposure. These tools transform text for convenience and do not validate meaning, check a signature or verify that a token is genuine. For anything security-related, rely on the libraries and standards your platform provides.
Frequently asked questions
- Is Base64 a form of encryption?
- No. Base64 is a reversible encoding that anyone can decode without a key, so it offers no confidentiality.
- Why does a string have more bytes than characters?
- UTF-8 uses one byte for ASCII characters and two to four bytes for others, so text with accents, symbols or emoji takes more bytes than characters.
- What is the difference between Base64 and Base64url?
- Base64url replaces plus and slash with hyphen and underscore, and often drops padding, so the result can sit safely in URLs and filenames.
- Which tool checks whether JSON is valid?
- The Json Validator Formatter, which parses a document and formats it, while the Csv To Json Converter converts tabular text into JSON.