Text & Data APIs
Base64, JSON, Markdown, CSV, XML conversion, regex testing, text analysis, and HTML processing APIs.
23 endpoints available. All free to try without an API key.
/v1/base64/encode Encode UTF-8 string to Base64. Supports URL-safe encoding.
Encode any UTF-8 string to Base64 or URL-safe Base64 with a single POST request. Returns the encoded string in JSON. Free API, no signup.
/v1/base64/decode Decode Base64 string to UTF-8.
Decode any Base64 or URL-safe Base64 string back to UTF-8 text with a single POST request. Returns plain text in JSON. Free API, no signup.
/v1/json/format Pretty-print JSON with configurable indentation.
Format and pretty-print JSON with configurable indentation (2 or 4 spaces, tabs). POST minified JSON, get readable output. Free API, no signup.
/v1/json/minify Remove whitespace from JSON.
Remove all whitespace from JSON to reduce payload size. Free minification API with no signup.
/v1/json/validate Validate JSON syntax and report errors.
Validate JSON syntax and get detailed error messages with line and column numbers. Free JSON validation API.
/v1/json/diff Diff two JSON documents showing additions, removals, changes.
Compare two JSON documents and get a detailed diff showing additions, removals, and changes. Free JSON diff API.
/v1/markdown/to-html Convert Markdown to sanitized HTML.
Convert Markdown to sanitized HTML with a single API call. Supports GFM tables, code blocks, and task lists.
/v1/markdown/to-text Convert Markdown to plain text.
Strip all Markdown formatting and return plain text. Useful for search indexing, summaries, and notifications.
/v1/html-to-text/convert Convert HTML to plain text preserving structure.
Convert HTML to clean plain text while preserving document structure. Free API with link preservation and word wrap options.
/v1/lorem/generate Generate lorem ipsum placeholder text.
Generate lorem ipsum placeholder text as words, sentences, or paragraphs. Free API for prototyping and design mockups.
/v1/regex/test Test a regex pattern against a string.
Test a regex pattern against any string and get all matches with positions. Free regex testing API with flag support.
/v1/regex/replace Find and replace with regex.
Find and replace text using regex patterns with capture group support. Free regex replace API.
/v1/text/stats Count words, characters, sentences, paragraphs. Estimate reading time.
POST any text and get character count, word count, sentences, paragraphs, and reading time in one JSON response. Free text stats API, no signup needed.
/v1/text/slugify Convert text to a URL-safe slug.
Convert any text into a clean, URL-safe slug. Handles Unicode, accented characters, and special symbols. Free API.
/v1/text/truncate Smart text truncation at word boundaries.
Truncate text at word boundaries with a custom suffix. Free API that avoids cutting words mid-character.
/v1/text/extract-urls Extract all URLs from text.
Extract every URL from a block of text via API. Detects http, https, and protocol-relative links. Returns a clean JSON array. Free, no signup.
/v1/text/extract-emails Extract all email addresses from text.
Extract all email addresses from any text block. Returns deduplicated results with count. Free extraction API.
/v1/text/language Detect the language of text.
Detect the language of any text with confidence scores. Supports 50+ languages. Free language detection API.
/v1/text/case Convert text between cases (camel, snake, pascal, kebab, etc.).
Convert text between camelCase, snake_case, PascalCase, kebab-case, and more. Free text case conversion API.
/v1/html-sanitize Sanitize HTML by removing dangerous tags and attributes.
Sanitize user-submitted HTML by stripping script tags, event handlers, and dangerous attributes. Configurable tag allowlist. Returns clean HTML. Free API.
/v1/csv/to-json Convert CSV to JSON array.
Convert CSV data to a JSON array with automatic header detection. Free CSV to JSON conversion API.
/v1/csv/to-csv Convert JSON array to CSV.
Convert a JSON array to CSV with automatic header generation. Free JSON to CSV conversion API.
/v1/xml/to-json Convert XML to JSON.
Convert XML documents to JSON with attribute and namespace handling. Free XML to JSON conversion API.
Start building with Botoi APIs
Free tier, no credit card required. Get your API key and start making requests in seconds.