Categories

Convert WebP to Resized WebP

Resize WebP images while maintaining WebP format and quality

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: image/webp

Leave empty to auto-calculate based on height and aspect ratio

Leave empty to auto-calculate based on width and aspect ratio

Background color for empty space. Use #RRGGBB format or "transparent"

0 90 100

Prevent upscaling when target dimensions are larger than original

Key Facts

Category
Media
Input Types
file, number, select, text, range, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Easily resize your WebP images while maintaining the format's efficiency and visual quality. This tool allows you to specify exact dimensions, adjust scaling behavior, and control output quality to ensure your images are perfectly optimized for your web projects.

When to Use

  • Preparing images for web layouts that require specific pixel dimensions.
  • Reducing file sizes by scaling down large WebP images for faster page loads.
  • Standardizing image assets to a consistent size for galleries or product listings.

How It Works

  • Upload your WebP image file to the tool.
  • Enter your desired width or height; if you leave one blank, the tool automatically calculates it to preserve the aspect ratio.
  • Select your preferred resize fit method and adjust the quality slider as needed.
  • Click the convert button to download your resized WebP file.

Use Cases

Optimizing high-resolution hero images for responsive web design.
Creating consistent thumbnail sizes for e-commerce product catalogs.
Scaling down large assets to meet specific UI component requirements.

Examples

1. Standardizing Blog Thumbnails

Content Creator
Background
A blog requires all featured images to be exactly 800px wide for a consistent layout.
Problem
Original images are uploaded at various high resolutions, breaking the site design.
How to Use
Upload the WebP image, set the width to 800px, and select 'cover' to ensure the image fills the space.
Example Config
width: 800, fit: 'cover'
Outcome
The image is perfectly resized to 800px width while maintaining the original aspect ratio and WebP quality.

2. Optimizing Hero Banners

Web Developer
Background
A hero banner image is too large, causing slow page load times.
Problem
The image needs to be smaller without losing visual clarity.
How to Use
Upload the file, set the width to 1200px, and adjust the quality slider to 80 to balance size and sharpness.
Example Config
width: 1200, quality: 80
Outcome
A smaller, web-optimized WebP file that loads significantly faster while looking crisp on desktop screens.

Try with Samples

image, file

Related Hubs

FAQ

Will this tool change my image format?

No, the output remains in the WebP format.

What happens if I only enter the width?

The tool will automatically calculate the height based on the original aspect ratio to prevent distortion.

Can I prevent the image from becoming blurry?

Yes, use the 'Don't Enlarge' checkbox to ensure the tool does not upscale images smaller than your target dimensions.

What is the maximum file size I can upload?

You can upload WebP files up to 50MB.

How do I handle empty space when resizing?

You can choose a background color or set it to 'transparent' to fill any empty space created by the resize fit settings.

API Documentation

Request Endpoint

POST /en/api/tools/webp-to-resized-webp

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
width number No Leave empty to auto-calculate based on height and aspect ratio
height number No Leave empty to auto-calculate based on width and aspect ratio
fit select No -
position select No -
background text No Background color for empty space. Use #RRGGBB format or "transparent"
quality range No -
withoutEnlargement checkbox No Prevent upscaling when target dimensions are larger than original

File type parameters need to be uploaded first via POST /upload/webp-to-resized-webp to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-webp-to-resized-webp": {
      "name": "webp-to-resized-webp",
      "description": "Resize WebP images while maintaining WebP format and quality",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=webp-to-resized-webp",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]