تخطي إلى المحتوى

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.

POST /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.

base64 encode api utf8 to base64
POST /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.

base64 decode api base64 to text
POST /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.

json format api json pretty print api
POST /v1/json/minify

Remove whitespace from JSON.

Remove all whitespace from JSON to reduce payload size. Free minification API with no signup.

json minify api compact json api
POST /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.

json validate api json syntax checker
POST /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.

json diff api compare json api
POST /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.

markdown to html api convert markdown html
POST /v1/markdown/to-text

Convert Markdown to plain text.

Strip all Markdown formatting and return plain text. Useful for search indexing, summaries, and notifications.

markdown to text api strip markdown
POST /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.

html to text api strip html tags
POST /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.

lorem ipsum api placeholder text api
POST /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.

regex test api regex match api
POST /v1/regex/replace

Find and replace with regex.

Find and replace text using regex patterns with capture group support. Free regex replace API.

regex replace api find and replace api
POST /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.

word count api character count api
POST /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.

slugify api url slug generator
POST /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.

text truncate api truncate string api
POST /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.

extract urls api find urls in text
POST /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.

extract emails api find emails in text
POST /v1/text/language

Detect the language of text.

Detect the language of any text with confidence scores. Supports 50+ languages. Free language detection API.

language detection api detect text language
POST /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.

text case converter api camelcase api
POST /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.

html sanitize api xss protection api
POST /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.

csv to json api convert csv json
POST /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.

json to csv api convert json csv
POST /v1/xml/to-json

Convert XML to JSON.

Convert XML documents to JSON with attribute and namespace handling. Free XML to JSON conversion API.

xml to json api convert xml json

Start building with Botoi APIs

Free tier, no credit card required. Get your API key and start making requests in seconds.