Text Converters

Convert and encode text between formats such as JSON, CSV, Base64 and Markdown.

Convert text and data from one readable format to another — Base64, binary, hex, JSON, CSV, HTML entities, Markdown and more — by pasting content in and copying the converted result out. Each text converter here transforms the text itself, right in your browser; nothing converts uploaded files or documents.

The everyday picks are the Base64 Encoder for data URIs and tokens, the JSON Formatter for readable payloads, the CSV to JSON Converter for quick data reshaping jobs, and the URL Encoder for safe, standards-compliant links. Developers, data wranglers and support teams use these most. When the next step is shrinking the result, the developer tools hold the CSS and JavaScript minifiers, and the image side of Base64 lives with the image tools, for turning pictures into data strings and back.

JSON FormatterText ConvertersPretty-print JSON with indentation or compress it to a single line, with errors shown in plain words.JSON ValidatorText ConvertersCheck whether text is valid JSON and, when it is not, read a plain explanation of the first error.XML FormatterText ConvertersIndent XML so nested elements are easy to read, with malformed XML reported instead of guessed.HTML FormatterText ConvertersIndent HTML markup for readability using a simple formatter that keeps tags and text in order.HTML Entity EncoderText ConvertersEscape HTML characters such as <, > and & into entities so markup displays as text instead of rendering.HTML Entity DecoderText ConvertersTurn HTML entities such as & and < back into the characters they represent.URL EncoderText ConvertersPercent-encode text for safe use inside a URL, query string or link parameter.URL DecoderText ConvertersDecode a percent-encoded URL or query string back into readable text.Base64 EncoderText ConvertersEncode text, including non-English characters, into Base64 with correct UTF-8 handling.Base64 DecoderText ConvertersDecode a Base64 string back into readable text, with UTF-8 characters restored.Binary to Text ConverterText ConvertersConvert space-separated binary bytes back into readable text.Text to Binary ConverterText ConvertersConvert readable text into space-separated 8-bit binary for learning or debugging.Decimal to Hex ConverterText ConvertersConvert a decimal number into its hexadecimal (base 16) equivalent.Hex to Decimal ConverterText ConvertersConvert a hexadecimal value, with or without a 0x prefix, into its decimal number.Text to ASCII ConverterText ConvertersConvert text into its ASCII code numbers, one number per character.ASCII to Text ConverterText ConvertersConvert space-separated ASCII code numbers back into readable text.CSV to JSON ConverterText ConvertersConvert comma-separated data into JSON objects, using the first row as field names.JSON to CSV ConverterText ConvertersConvert a JSON array of objects into CSV rows with a header row of field names.Markdown to HTML ConverterText ConvertersConvert simple Markdown — headings, bold, italic, links, lists and code — into HTML.HTML to Markdown ConverterText ConvertersConvert simple HTML — headings, bold, italic, links and lists — back into Markdown text.

Browse all tools

Scroll to Top