SVG viewport calculator

Client

Generate viewBox attributes for square SVG icons.

About SVG viewport calculator

viewBox string from width, height, origin. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.

How to use this page

Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.

viewBox="0 0 100 100" · width="100" height="100"

Nearby workflows on Toolcore

  • SVG viewBox aspect ratioParse SVG viewBox min-x min-y width height into aspect ratio. after you export or copy from the media workspace.
  • Favicon generatorSquare-crop a logo and download PNG favicon sizes (16–512 px) including Apple touch—browser only. after you export or copy from the media workspace.
  • Image convertConvert, enhance (tone & sharpen), resize, read EXIF & export clean—WebP, JPEG, PNG in browser. after you export or copy from the media workspace.
  • Sprite sheet gridSheet size from tile size and grid count. after you export or copy from the media workspace.

Common use cases

  • SVG viewport calculator for quick local checks without uploading data.
  • Copy results into tickets, docs, or classroom notes.

Common mistakes to avoid

  • Unexpected input shape

    See the intro and how-to notes for accepted formats.

FAQ

Is processing local?

Yes—this runs entirely in your browser.

Agent prefill?

Open the page directly—multi-field or file inputs are not URL-prefilled.

Related utilities you can open in another tab—mostly client-side.