# Metatag-generator

> Generér de metatags, en side har brug for: titel, beskrivelse, canonical, Open Graph og X (Twitter)-kort. Længdeadvarsler inkluderet. Gratis.

Free tool by Orkosi. Page: https://orkosi.com/tools/meta-tag-generator?lang=da

Udfyld, hvad siden handler om, og få blokken, du kan indsætte i dens head: de tags, søgemaskiner læser, og dem der bestemmer, hvordan linket ser ud, når det deles.

1. Skriv sidens titel og beskrivelse.
2. Tilføj sidens adresse og et delingsbillede, hvis du har et.
3. Tryk på Generér, og indsæt HTML-koden i <head>.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `title` | text | yes | Sidetitel. |
| `description` | text | yes | Beskrivelse. |
| `url` | text | no | Sidens URL. |
| `image_url` | text | no | URL til delingsbillede. |
| `site_name` | text | no | Webstedsnavn. |
| `twitter_handle` | text | no | X (Twitter)-brugernavn. |
| `type` | "website" \| "article" \| "product" | no | Sidetype. Default: "website". |
| `robots` | "index" \| "noindex" | no | Søgemaskiner. Default: "index". |

## Example

Input:

```json
{
  "title": "Acme Invoices — get paid in two clicks",
  "description": "Send an invoice from your phone and get paid by card or bank transfer. Free for your first five clients, no card needed.",
  "url": "https://acme-invoices.com/",
  "image_url": "https://acme-invoices.com/og.png",
  "site_name": "Acme Invoices",
  "twitter_handle": "@acmeinvoices"
}
```

Result:

```json
{
  "html": "<title>Acme Invoices — get paid in two clicks</title>\n<meta name=\"description\" content=\"Send an invoice from your phone and get paid by card or bank transfer. Free for your first five clients, no card needed.\">\n<link rel=\"canonical\" href=\"https://acme-invoices.com/\">\n\n<meta property=\"og:type\" content=\"website\">\n<meta property=\"og:title\" content=\"Acme Invoices — get paid in two clicks\">\n<meta prope…",
  "title_length": 38,
  "description_length": 120,
  "warnings": []
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "meta-tag-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/meta-tag-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"title":"Acme Invoices — get paid in two clicks","description":"Send an invoice from your phone and get paid by card or bank transfer. Free for your first five clients, no card needed.","url":"https://acme-invoices.com/","image_url":"https://acme-invoices.com/og.png","site_name":"Acme Invoices","twitter_handle":"@acmeinvoices"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**Hvor lang bør en titel og en beskrivelse være?**

Op til 60 tegn for titlen og 70 til 160 for beskrivelsen. Længere tekster afkortes i søgeresultater, og værktøjet advarer dig.

**Hvilken størrelse bør delingsbilledet have?**

1200 x 630 pixel, under 1 MB. Det fungerer til Facebook, LinkedIn, Slack, WhatsApp og store X-kort.

**Har jeg stadig brug for et keywords-metatag?**

Nej. Google har ignoreret det siden 2009, så det genereres ikke.

All free tools: https://orkosi.com/tools.md
