#text
34 APIs with this tag
Keyboard Layout API
Re-map text between keyboard layouts — the fix for text typed with the keyboard set to the wrong layout. The remap endpoint takes text, a source layout and a target layout, and rewrites each character to the one produced by the same physical key on the other layout. So text accidentally typed on a Dvorak-configured keyboard while you meant QWERTY (or the reverse) is recovered exactly, and because the mapping is position-preserving it round-trips perfectly. It supports QWERTY (US), Dvorak and Colemak, including the shifted symbols, and leaves characters that are not on a remappable key (spaces and accents) untouched. The layouts endpoint returns the full key map for each layout. Everything is computed locally and deterministically, so it is instant and private. Ideal for fixing wrong-layout typing, building text editors and IME tools, layout-learning aids, and cross-layout search. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This remaps between keyboard layouts; for classical ciphers (Caesar, ROT13, Morse) use a cipher API.
api.oanor.com/keyboardlayout-api
Entropy API
Measure the information content of text. The analyze endpoint computes the Shannon entropy in bits per symbol, the total information in bits and bytes, the maximum possible entropy for the alphabet that was actually used, and a normalized 0–1 score that says how uniform (random-looking) the distribution is — over Unicode code points or raw UTF-8 bytes. The frequency endpoint returns the full character-frequency distribution, most common symbol first, with counts and percentages, showing control characters escaped and bytes as hex. It is exact, deterministic and runs entirely locally with no network calls, so it is instant and private. Ideal for randomness and password-quality checks, estimating how compressible data is, language and classical-cipher analysis, spotting low-variety or repetitive input, and feature extraction for text classification. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This measures information content; for password-strength scoring use a password API, for number statistics use a statistics API, and for grapheme/character counts use a text-segmentation API.
api.oanor.com/entropy-api
N-gram API
Generate n-grams from text, with frequency counts — entirely locally. The ngrams endpoint breaks text into contiguous sequences of n tokens and returns each distinct n-gram with how often it occurs, ranked by frequency: word n-grams (unigrams, bigrams, trigrams and beyond) for phrase and collocation analysis, or character n-grams (shingles) for fuzzy matching, language detection and indexing. The range endpoint produces every size from a minimum to a maximum in a single call (for example 1–3 grams), which is exactly what you need to build feature vectors. Choose word or character mode, whether to lower-case first, and a top-N limit to keep only the most frequent. Word tokenization is Unicode-aware and keeps internal apostrophes and hyphens (don't, well-known) as single tokens. Everything runs locally and deterministically, so it is fast and private. Ideal for text mining and NLP feature extraction, language modelling and autocomplete, search indexing and shingling, plagiarism and similarity detection, and keyword and collocation analysis. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This produces n-grams and counts; for extractive summaries and keywords use a summarize API and for grapheme/character counting use a text-segmentation API.
api.oanor.com/ngram-api
Emoji Strip API
Strip, extract and count emoji in any text. The strip endpoint removes every emoji from a string — or replaces each one with a marker you choose — and gets multi-code-point emoji right: ZWJ sequences like the family 👩👩👧👦, skin-tone modifiers (👍🏽), country flags (🇩🇪), keycaps (1️⃣) and variation selectors all count as a single emoji, so nothing is left half-deleted. The extract endpoint lists every emoji it finds with its position in the text and returns per-emoji and unique counts, ideal for analytics and moderation. A bare ©, ® or ™ is deliberately left alone unless it carries an emoji variation selector, and plain digits are never touched. Perfect for cleaning user input before search indexing or storage, sanitising usernames and display names, moderation and analytics, and preparing text for systems that choke on emoji. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This cleans and extracts emoji from text; to look an emoji up by name or shortcode use an emoji database API, and to count graphemes use a text-segmentation API.
api.oanor.com/emojistrip-api
Initials API
Extract initials and avatar monograms from a name or phrase. The initials endpoint returns the first letter of every significant word — automatically skipping lower-case nobiliary and linking particles (van, von, de, della, la, der, of, the…) so "Ludwig van Beethoven" gives LB and "Charles de Gaulle" gives CG — with options for a separator between letters, a dotted form (J.D.), upper-case or original case, and a maximum number of initials. The monogram endpoint returns the short one-, two- or three-letter badge initials used for UI avatars and chips, taking the first and last significant words ("John Michael Doe" → JD) and falling back to the leading letters of a single name. Everything is multibyte-safe, so accented and non-Latin letters (José María → JMA) work correctly. Ideal for default avatars, contact chips, initials badges, monogram graphics, document headers and mail-merge. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This produces the initials text; to render them as an avatar image use an avatar API.
api.oanor.com/initials-api
Case Detect API
Detect which case convention a string uses, and split identifiers into their constituent words. The detect endpoint classifies any value as camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, COBOL-CASE, Train-Case, dot.case, Title Case, Sentence case, lowercase or UPPERCASE — or mixed when it does not fit — and reports the separator it found and the words it is built from. The split endpoint tokenizes any identifier into words: it breaks camelCase humps, handles acronym boundaries correctly (HTTPServer → HTTP, Server; XMLHttpRequest → XML, Http, Request), and splits on digits and on underscores, dashes, dots and spaces, returning both the original-case tokens and lower-cased words ready to feed into a converter. Ideal for linters and code-mod tools, refactoring, API and schema validators, autocomplete and search, and any pipeline that needs to understand identifier naming. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This DETECTS and tokenizes a case convention; to CONVERT a string between case styles use a text-case API.
api.oanor.com/casedetect-api
Indent API
Indent, dedent and convert tabs to spaces on plain text, line by line. The indent endpoint prefixes every line with a fixed indentation — a number of spaces or tabs, or any custom prefix like "> " for quoting — and can optionally indent blank lines too. The dedent endpoint removes the longest common leading whitespace from a block (the same idea as Python textwrap.dedent), so you can flatten an over-indented snippet and get back exactly which prefix was stripped. The tabs endpoint converts between tabs and spaces honouring tab stops — expand tabs to spaces or collapse runs of spaces back to tabs, at a chosen tab size, leading whitespace only or throughout. It works on any text without parsing it as code, and CRLF line endings are preserved. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. It only touches whitespace structure: to trim or sort lines use a lines API, to reflow long lines use a word-wrap API, and to reformat real source code use a code-formatter API.
api.oanor.com/indent-api
Pad API
Pad and align strings to a target width. The pad endpoint adds a fill character to the start, end, or both sides of a value until it reaches the width you ask for — zero-pad a number (7 → 007), right-align a price column, centre a heading, or build a fixed-width field — with any fill string (space, 0, dash, dots) and an optional truncate flag to cut values that are already too long. The align endpoint takes a whole list of lines (or newline-separated text) and pads every line to a common width, so columns line up in fixed-width tables, ASCII layouts, receipts, invoices and logs. Width is counted in Unicode code points, so emoji and accented letters each count as one and never get split. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This pads to a width; to wrap long text across lines use a word-wrap API, and to convert between case styles use a text-case API.
api.oanor.com/pad-api
Mask API
Mask a value for safe display. The mask endpoint keeps the first and/or last few characters visible and replaces the rest with a mask character — so a card becomes ••••••••••••1111 and an API token becomes sk**********3456 — and can keep separators (spaces and dashes) intact so the value keeps its shape. A dedicated email masker hides the local part (and optionally the domain) while keeping the address recognisable, e.g. j•••••••@example.com. Choose how many characters to reveal and which mask character to use. Perfect for showing the last four digits of a card, partially hiding emails and phone numbers, and masking tokens and account numbers in UIs, receipts and logs. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This masks a known value for display; to find and redact PII inside free text, use a redaction API.
api.oanor.com/mask-api
Lines API
Operate on text line by line. The transform endpoint sorts lines (natural / numeric-aware, ascending or descending, case-insensitive), removes duplicate lines, reverses their order, numbers them, trims whitespace and drops blank lines — and the operations chain in the order you list them, so trim → remove blanks → dedupe → sort happens in a single call. The count endpoint reports line statistics: total, blank, non-blank, unique and duplicate counts plus the longest, shortest and average line length. Perfect for cleaning up lists and logs, deduplicating, preparing data and tidying pasted text. Pure local computation — no key, no third-party service, instant; up to 500,000 characters via POST. Live, nothing stored. 3 endpoints. Distinct from word wrapping, sorting of JSON lists and CSV tooling.
api.oanor.com/lines-api
Highlight API
Highlight search terms in text. The highlight endpoint wraps every match of one or more terms in a marker — defaulting to <mark>…</mark>, or any open/close strings you choose (** for Markdown, ANSI codes for the terminal, a CSS span, anything) — and returns the marked-up text and a match count. The snippets endpoint returns short excerpts of the surrounding context around each match, the way a search-results page shows where your query appears. Matching is case-insensitive by default with optional whole-word mode, and terms are matched literally (regex characters are safely escaped). Perfect for search results and in-page find, keyword spotting, log review and document previews. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from search, summarization and diff APIs.
api.oanor.com/highlight-api
Truncate API
Truncate text cleanly. Cut a string to a maximum number of characters — at the end, the start or the middle — breaking on word boundaries so words are never chopped in half, and adding an ellipsis (which counts toward the limit). Middle truncation keeps the start and end and elides the centre, ideal for long file paths and IDs. A words endpoint trims to a number of whole words instead. Everything is emoji- and Unicode-safe (it counts code points, not bytes), so multi-byte characters and emoji are never split. Perfect for previews and teasers, table cells and cards, meta descriptions, breadcrumbs and CLI output. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from word wrapping, case conversion and text statistics.
api.oanor.com/truncate-api
Redact API
Detect and redact personally identifiable information (PII) in free text. It finds email addresses, phone numbers, credit-card numbers (Luhn-validated to cut false positives), IPv4 and IPv6 addresses, US Social Security numbers and IBANs, and masks each one — with a per-type label like [EMAIL], a fixed replacement string, or a single character repeated to the original length. A detect endpoint returns every match with its type and position without changing the text. Perfect for scrubbing logs and support transcripts, sanitising data before sharing or sending to a third party, and privacy and compliance pre-checks. Pure local computation — text never leaves the server, no key, no third party, instant; up to 200,000 characters via POST. Live, nothing stored. 3 endpoints. Regex-based and best-effort — review before relying on it for legal compliance. Distinct from sentiment, profanity and general text tooling.
api.oanor.com/redact-api
Title Case API
Convert a heading to proper headline (title) case the way editors do — not a naive capitalise-every-word. It capitalises the first and last words and all the major words, while keeping articles (a, an, the), coordinating conjunctions (and, but, or…) and prepositions lowercase, and always capitalises the word right after a colon. Choose AP style (lowercases short prepositions, capitalises longer ones) or Chicago style (lowercases prepositions of any length). Hyphenated compounds such as well-known and state-of-the-art are handled correctly. Perfect for article and blog titles, headings, SEO meta titles, product and section names, and CMS tooling. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from a plain title/sentence case converter, which capitalises every word.
api.oanor.com/titlecase-api
Anagram API
Work with anagrams. The check endpoint tells you whether two strings are anagrams of each other — by default ignoring case, spaces and punctuation, so "Dormitory" and "Dirty Room" match. The signature endpoint returns the canonical sorted-letter key for a string; two strings are anagrams exactly when their signatures are equal, which makes the signature ideal for indexing and bucketing. The group endpoint takes a list of words and groups them into their anagram sets. Perfect for word games and puzzles, dictionaries and search, and de-duplicating reordered strings. No word list needed — it is pure letter analysis. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from spelling, similarity and dictionary APIs.
api.oanor.com/anagram-api
Word Wrap API
Reflow plain text to a fixed column width on word boundaries — the classic word-wrap you need for terminal and CLI output, email and plain-text formatting, code comments, README and changelog blocks, and fixed-width reports. The wrap endpoint breaks text to a chosen width while preserving paragraphs (blank-line separated), with optional left indentation and the option to hard-break words longer than the line; the unwrap endpoint does the reverse, collapsing a wrapped block back into single-line paragraphs. Pure local computation — no key, no third-party service, instant; up to 200,000 characters via POST. Live, nothing stored. 3 endpoints. Distinct from case conversion, slugs and text statistics.
api.oanor.com/wordwrap-api
Braille API
Convert text to Unicode braille and back. Uses uncontracted (Grade 1) English braille: the 26 letters, digits with the number sign, capitals with the capital sign, and common punctuation, all output as Unicode Braille Patterns (U+2800–U+28FF) so they render anywhere. The to-braille endpoint turns ordinary text into braille; the from-braille endpoint decodes braille back to text. Unknown characters pass through unchanged. Perfect for accessibility tooling and education, labels and signage mockups, braille-display previews and learning resources. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Grade 1 only (no contractions). Distinct from cipher/alphabet encoders and from general text transforms.
api.oanor.com/braille-api
Unicode Normalize API
Normalize and fold Unicode text. Convert any string to one of the four Unicode normalization forms — NFC, NFD, NFKC, NFKD — so that visually identical text with different code-point compositions (é as one code point vs e + a combining accent) compares and stores consistently. Fold diacritics and special letters to plain ASCII (café → cafe, Straße → Strasse, Ångström → Angstrom, Łódź → Lodz) for slugs, search keys and filenames; the fi ligature and similar compatibility characters are expanded under NFKC/NFKD. And compare two strings for equality after normalization, optionally case-insensitively. Perfect for deduplication, search and indexing, username and identifier checks, and defending against look-alike (homoglyph) input. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from Unicode character-database lookups and from text segmentation.
api.oanor.com/normalize-api
BBCode API
Render BBCode — the [b]…[/b] markup used by forums, bulletin boards, game communities and many comment systems — into clean HTML, or strip it down to plain text. Supports bold, italic, underline, strikethrough, lists, quotes, code blocks, links, images, colour and size. Dangerous URL schemes (javascript:, data:, vbscript:) in links and images are neutralised, so the HTML is safe to display. The to-text endpoint removes all markup for previews, search indexes, notifications and excerpts. Powered by the bbob parser. Pure local computation — no key, no third-party service, instant; send large posts via POST. Live, nothing stored. 3 endpoints. Distinct from Markdown rendering and HTML-to-Markdown conversion.
api.oanor.com/bbcode-api
Summarize API
Summarize text and pull out its keywords — no AI key, no external model. The summarize endpoint is extractive: it scores every sentence by word frequency and position and returns the most representative ones (ask for a fixed number of sentences or a fraction of the original), keeping the author's exact wording and order. The keywords endpoint ranks the most salient terms with their counts and a relative score, filtering out stopwords. Because it is deterministic and runs locally, the same text always gives the same result, instantly and privately. Perfect for article previews and TL;DRs, search snippets, tagging and content triage, and feeding shorter context to downstream tools. Pure local computation — no third-party service; send long text via POST. Live, nothing stored. 3 endpoints. Distinct from sentiment/NLP analysis, stopword lists and Unicode text segmentation.
api.oanor.com/summarize-api
Name API
Clean up and parse personal names. The case endpoint applies proper name-casing that ordinary title-casing gets wrong — McDonald, MacLeod, O'Brien, D'Angelo, hyphenated double-barrelled names, lower-case particles (van, von, de, la, der) and Roman-numeral suffixes (II, III, IV). The parse endpoint splits a full name into salutation, first, middle and last name and suffix, and also returns a properly-cased version of each part. Perfect for tidying user sign-ups, CRM and mailing lists, deduplicating contacts, formatting names on documents and normalising imported data. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Parsing is tuned for Western (given-name-first) order. Distinct from baby-name popularity data and locale display-name lookups.
api.oanor.com/name-api
Stemmer API
Reduce words to their linguistic root (stem) with the classic Snowball stemming algorithms — running → run, fishing → fish, nationalization → nation — across 24 languages including English, German, French, Spanish, Italian, Portuguese, Dutch, Russian, Arabic, Finnish, Swedish and more. Stem a whole text (every word, returning both the per-word mapping and the fully stemmed text) or a single word. Stemming is the core normalisation step behind search engines, query expansion, text indexing, keyword matching and NLP preprocessing. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from sentiment/NLP analysis and fuzzy string matching.
api.oanor.com/stemmer-api
Profanity Filter API
Detect and censor profanity in user-generated text across 24 languages — for comment moderation, chat filtering, username and form validation, and trust-and-safety pipelines. Send any text and get back whether it contains profanity, the exact bad words found and which languages they belong to; or get the text back with every bad word masked (choose your own mask character). Matching is word-boundary aware (so "Scunthorpe" and "Penistone" are not flagged) and normalises common leetspeak (sh1t, @ss) before matching. Target a specific language (or several) or scan all 24 at once. Powered by the well-known LDNOOBW word lists, bundled in — so the service is fully self-contained: no third-party calls, no rate limits, always available. Live, no cache. 4 endpoints. No upstream key.
api.oanor.com/profanity-api
Inflector API
English word inflection as an API. Pluralize or singularize any word — correctly handling the irregulars that trip up naive code (person ↔ people, cactus ↔ cacti, goose ↔ geese, analysis ↔ analyses, and uncountables like sheep and series). Get count-aware inflection ("1 item" vs "3 items", optionally with the number included), and check whether a given word is already singular or plural. Everything is computed locally, so it is instant and always available. Ideal for ORMs and code generators, REST resource naming, UI labels and notifications ("3 result(s)"), search and autocomplete, and any app that turns counts into correct grammar. For case styles and URL slugs, use the Text API.
api.oanor.com/inflector-api
Lorem Ipsum API
Generate classic Lorem Ipsum placeholder text as an API — exactly as much as you need, in the shape you need. Request a number of words, sentences, paragraphs (as plain text or ready-to-drop-in HTML <p> tags), bullet-list items, or an exact byte length. Prose can start with the canonical "Lorem ipsum dolor sit amet, consectetur adipiscing elit…" or with random Latin. Generated entirely on the server, so it is instant and always available — no third-party calls. Ideal for mockups and design comps, CMS and template seeding, UI prototyping, test fixtures and load-test payloads, and anywhere a layout needs filler copy.
api.oanor.com/lorem-api
ASCII Art API
Turn text into ASCII-art banners as an API, with 300+ classic FIGlet fonts (Standard, Slant, Big, Ghost, Doom, 3D-ASCII, Banner and many more). Send a word or short phrase and a font and get back ready-to-paste ASCII art, with control over output width and the letter-spacing layout. Browse and search the full font catalogue. Rendering runs entirely on the engine — no third-party service, so it is fast and always available. Ideal for CLI tools and terminal output, README and changelog headers, build banners, chat and Discord bots, retro UIs and any place a plain string deserves a little flourish.
api.oanor.com/asciiart-api
Unicode API
The Unicode Character Database (UCD) as an API. Resolve ANY codepoint (0..10FFFF, including the CJK and Hangul ranges) to its name, general category, block and script — plus the literal character, HTML entity (😀), CSS escape and UTF-8/UTF-16 byte sequences. Pass a hex codepoint (e.g. 1F600 → 😀 GRINNING FACE) or a literal character (?char=€). Search 40,000+ named characters by name (e.g. "heart", "arrow"), filter by category or block, and browse all 346 Unicode blocks. Ideal for text-processing tools, emoji pickers, editors, internationalization and developer utilities.
api.oanor.com/unicode-api
Grammar API
Catch spelling mistakes in six languages — English, German, Spanish, French, Portuguese and Dutch — and get English style and grammar suggestions in one call. Spelling errors come with their position in the text and a ranked list of corrections; style suggestions flag repeated words, weasel words, passive voice, wordiness, clichés and more. A combined check returns spelling and style together (sorted by position), a spelling-only endpoint covers all six languages, a single-word endpoint returns corrections for one word, and a languages endpoint lists what is supported. Every endpoint takes text via the query string or the request body and returns lean JSON. Pure server-side computation (Hunspell dictionaries + write-good, no third-party upstream, no LLM cost), so responses are instant and always available. Ideal for editors and CMSs, form and comment validation, chat and email tools, and writing assistants.
api.oanor.com/grammar-api
Stopwords API
Stopword lists and removal for 58 languages. Fetch the full stopword list for a language, see all supported languages with their word counts, check whether a single word is a stopword, or strip stopwords out of a block of text to get a clean keyword stream. Built on the open stopwords-iso dataset and served entirely in-memory, so responses are instant and the service is always available. Ideal for search indexing and relevance, NLP preprocessing and text mining, keyword extraction, tag generation and content tooling.
api.oanor.com/stopwords-api
Emoji API
A complete emoji database in one fast API. Search roughly 1,870 emojis by name, keyword, alias or tag, look up a single emoji by its alias (like rocket or :fire:) or by the emoji character itself, browse any of the nine Unicode categories, or get random emojis (optionally from a category). Every emoji comes with its name, category, aliases, search tags, Unicode code points and the version it was introduced in. Built on the open GitHub gemoji dataset and served entirely in-memory, so responses are instant and the service is always available. Ideal for chat and messaging apps, emoji pickers and search, social and content tools, games and fun widgets.
api.oanor.com/emoji-api
Regex API
Run regular expressions server-side without the ReDoS risk. Test whether a pattern matches, extract all matches with their positions and capture groups (numbered and named), replace with a substitution pattern, or split text — all with the familiar JavaScript regex flags (g, i, m, s, u, y). Every evaluation runs in an isolated sandbox with a hard timeout, so a catastrophic-backtracking pattern can never hang your service; you get a clear timeout error instead. Inputs accept GET query parameters or a JSON POST body. Pure local compute with no third-party upstream, so responses are instant and the service is always available. Ideal for no-code and automation platforms, data-cleaning pipelines, form and input validation, log parsing and content tooling.
api.oanor.com/regex-api
Text Diff API
Compare two pieces of text and get a precise, structured diff. Choose line, word or character granularity for a full edit script (equal, inserted, deleted) with addition and deletion counts, get a compact inline word diff, or render a standard unified diff (patch) with configurable context lines and file labels — ready to feed into patch tooling or a code-review UI. Built on a Longest-Common-Subsequence algorithm for accurate, minimal diffs. Every endpoint works by GET or JSON POST and runs entirely server-side with no third-party upstream, so responses are instant and the service is always available. Ideal for code review and version tooling, CMS and document editors, change tracking, plagiarism highlighting and content audits.
api.oanor.com/textdiff-api
Text Tools API
A fast, fully-local text-utilities toolkit: convert between 10 case styles (upper, lower, title, sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case), generate URL-friendly slugs, compute text statistics (word, character, sentence, line and paragraph counts, average word length and reading time), and produce lorem-ipsum placeholder text by words, sentences or paragraphs. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for CMS, editors, developer tools, forms and content pipelines.
api.oanor.com/text-api
Lyrics API
Fetch full song lyrics by artist and title, and search across millions of songs to find the right track. Returns the lyrics as text and as an array of lines, ready to display or process.
api.oanor.com/lyrics-api