Textwerk
length fit
Counts like the target platform: code points, grapheme clusters, Google Ads characters (double-width CJK characters count 2; responsive search ads: headline 30, description 90, path 15), X weighted length (twitter-text config v3: weight 1 for U+0000-10FF and some punctuation ranges, 2 otherwise, emoji 2, URLs 23; limit 280) or SMS segments (GSM 7-bit alphabet with 2-septet extension characters per 3GPP TS 23.038, 160/153 septets, otherwise UCS-2 70/67). Shortening stops as soon as the text.
POST https://text.halowerk.com/v1/length-fitInputs
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Text to fit. |
| preset | See schema | No | Platform limit; alternatively give limit and unit. |
| limit | integer | No | Maximum length in the chosen unit (segments for sms_segments). |
| unit | See schema | No | |
| language | See schema | No | Language of the abbreviation and filler-word lists. |
| keep | array | No | Phrases that must stay unchanged (brand names, prices). |
| ellipsis | boolean | No | Append an ellipsis when cutting at a word boundary. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 5000,
"description": "Text to fit."
},
"preset": {
"enum": [
"google_ads_headline",
"google_ads_description",
"google_ads_path",
"x_post",
"sms_single"
],
"description": "Platform limit; alternatively give limit and unit."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5000,
"description": "Maximum length in the chosen unit (segments for sms_segments)."
},
"unit": {
"enum": [
"chars",
"graphemes",
"google_ads",
"x_weighted",
"sms_segments"
],
"default": "chars"
},
"language": {
"enum": [
"de",
"en"
],
"default": "en",
"description": "Language of the abbreviation and filler-word lists."
},
"keep": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": "Phrases that must stay unchanged (brand names, prices)."
},
"ellipsis": {
"type": "boolean",
"default": true,
"description": "Append an ellipsis when cutting at a word boundary."
}
}
}Published input example
{
"text": "Our really simple invoicing tool (for freelancers) saves approximately 5 hours per month.",
"preset": "google_ads_description",
"language": "en"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp