# Compress Image to 100 KB

- Human page: https://happytails.ai/en/image-tools/compress-image-to-100kb/
- Markdown: https://happytails.ai/en/image-tools/compress-image-to-100kb.md
- Structured JSON: https://happytails.ai/agents/en/image-tools/compress-image-to-100kb/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `compress-image-to-100kb` |
| Category | image-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Runs in your browser. One still JPEG, PNG or WebP, up to 20 MiB and 40 megapixels. Animated images are not supported. New copies do not preserve metadata; an unchanged original keeps its metadata. Smaller dimensions are used only with your permission.

### Inputs and settings

No free-text input is required. Use the file inputs and/or settings below.

Accepted browser files: `.jpg,.jpeg,.png,.webp`. Choose one file.

Browser file-input limit: 20971520 bytes in total. HTTP limits can differ.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `quality` | Quality (%) | number | 85 | min=1 max=100 step=1 |
| `format` | Output format | select | "WebP" | Allowed: WebP, JPEG |
| `background` | JPEG background | color | "#ffffff" |  |
| `allowResize` | Allow smaller dimensions | checkbox | false |  |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Actually target byte limit with resize/quality controls; report failure instead of lying about size.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "compress-image-to-100kb",
  "category": "image-tools",
  "built": true,
  "requirements": "Actually target byte limit with resize/quality controls; report failure instead of lying about size.",
  "implementation": {
    "fields": [
      {
        "key": "quality",
        "label": "Quality (%)",
        "value": 85,
        "type": "number",
        "min": 1,
        "max": 100,
        "step": 1,
        "help": "With a size limit, quality may be reduced below this value."
      },
      {
        "key": "format",
        "label": "Output format",
        "value": "WebP",
        "type": "select",
        "values": [
          "WebP",
          "JPEG"
        ]
      },
      {
        "key": "background",
        "label": "JPEG background",
        "value": "#ffffff",
        "type": "color"
      },
      {
        "key": "allowResize",
        "label": "Allow smaller dimensions",
        "value": false,
        "type": "checkbox",
        "help": "Only reduce dimensions if the size limit cannot be met at the original size."
      }
    ],
    "files": true,
    "input": false,
    "multiple": false,
    "accept": ".jpg,.jpeg,.png,.webp",
    "maxFileBytes": 20971520,
    "deferImagePreview": true,
    "note": "Runs in your browser. One still JPEG, PNG or WebP, up to 20 MiB and 40 megapixels. Animated images are not supported. New copies do not preserve metadata; an unchanged original keeps its metadata. Smaller dimensions are used only with your permission.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": "Compress image"
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Make an image fit a 100 KB limit. Reduce dimensions only if you choose to.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Compress image to 100kb

1. Choose a still JPG, PNG or WebP image. It stays in this browser.
2. Choose the quality ceiling and output format. Allow smaller dimensions only if resizing is acceptable.
3. Compress and check the preview. A successful result is at most 100,000 bytes; if the target cannot be met, the tool asks you to adjust the settings.

## Useful next steps

- [Compress image](https://happytails.ai/en/image-tools/compress-image/) ([Markdown](https://happytails.ai/en/image-tools/compress-image.md))

- [Resize image](https://happytails.ai/en/image-tools/resize-image/) ([Markdown](https://happytails.ai/en/image-tools/resize-image.md))

- [JPG to WEBP](https://happytails.ai/en/image-tools/jpg-to-webp/) ([Markdown](https://happytails.ai/en/image-tools/jpg-to-webp.md))

## What to expect

Make a still JPG, PNG or WebP image fit a 100 KB limit. A successful download is at most 100,000 bytes. The tool lowers quality as needed and reduces dimensions only with your permission. If the limit cannot be met, adjust the settings and try again.
