# QR code generator

> Generate QR codes for URLs, Wi-Fi, text or contact cards. Choose colours and error correction, download crisp SVG or high-res PNG.

Free tool by Orkosi. Page: https://orkosi.com/tools/qr-generator

Create QR codes that match your brand. Pick your colours, choose SVG for print or PNG for screens, and download instantly.

1. Type a URL, text, Wi-Fi network or contact details.
2. Choose foreground and background colours and error correction.
3. Download SVG or PNG.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `text` | text | yes | Text or URL. |
| `ecl` | "L" \| "M" \| "Q" \| "H" | no | Error correction. Default: "M". |
| `fg` | text | no | Foreground colour. Default: "#000000". |
| `bg` | text | no | Background colour. Default: "#FFFFFF". |

## Example

Input:

```json
{
  "text": "https://orkosi.com/tools"
}
```

Result:

```json
{
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 27 27\" shape-rendering=\"crispEdges\"><path fill=\"#FFFFFF\" d=\"M0 0h27v27H0z\"/><path stroke=\"#000000\" d=\"M1 1.5h7m1 0h1m5 0h1m3 0h7M1 2.5h1m5 0h1m1 0h4m1 0h1m2 0h1m1 0h1m5 0h1M1 3.5h1m1 0h3m1 0h1m1 0h3m1 0h3m3 0h1m1 0h3m1 0h1M1 4.5h1m1 0h3m1 0h1m3 0h7m1 0h1m1 0h3m1 0h1M1 5.5h1m1 0h3m1 0h1m1 0h1m1 0h1m2 0h2m1 0h1m1 0h1m1 0h3m1 0h1M1 6.5h1m5 0h1m5 0h…",
  "characters": 24,
  "error_correction": "M"
}
```

## 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": "qr-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/qr-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"text":"https://orkosi.com/tools"}}'
```

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

## Questions

**Do the QR codes expire?**

No. They are static codes that encode your content directly, so they work forever with no account.

**Can I use them commercially?**

Yes. Print them on packaging, menus, posters, anything you like.

**Which format should I choose?**

SVG scales without blur and is best for print; PNG is best for websites, slides and social media.

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