Canonical: https://toolipedia.app/html-image-map-generator

# HTML Image Map Generator

Draw clickable rectangles, circles and polygons on your image, add links and alt text, and copy the HTML map code. The image never leaves your device.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > HTML Image Map Generator

## About HTML Image Map Generator

An image map makes parts of one picture link to different pages. Open your image, drag on it to draw a rectangle or a circle, or click points to outline a polygon, then add the link and alt text for each area. You can also type coordinates directly. The page writes the img tag with its usemap, width and height and the map element with one area per shape: rectangles use left, top, right and bottom, circles use the centre and radius, and polygons list x and y pairs, all in pixels of the original image. The picture is shown from your own device and is never uploaded.

## How to use HTML Image Map Generator
1. Open your image, or practise on the grey sample picture.
2. Choose a shape and draw it on the image, or type its coordinates and press Add area.
3. Fill in the link and alt text of each area, then copy the HTML code.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- html image map generator
- image map creator
- clickable image map maker
- create area coords online
- draw image map polygon
- usemap area shape coords generator

## Frequently asked questions

### Why do my areas drift when the image is smaller on the page?

Image map coordinates are fixed pixels of the original image and do not scale with CSS. Keep the width and height from the code, or use a small script that rescales the coordinates.

### How do I finish a polygon?

Click each corner in order with the polygon shape selected, then press Finish polygon or double-click the last point. At least three points are needed.

### Do I need alt text on every area?

Yes. Screen readers announce each area by its alt text, and a link without one is hard to use. Areas with no link address are written without href and do nothing when clicked.

### Is HTML Image Map Generator free?

Yes. HTML Image Map Generator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with HTML Image Map Generator:
- [Google Maps location share and embed code maker](https://toolipedia.app/google-maps-embed-generator)
- [HTML table generator](https://toolipedia.app/html-table-generator)
- [HTML Accessibility Checker](https://toolipedia.app/html-accessibility-checker)
- [Source Map Stack Trace Decoder](https://toolipedia.app/source-map-stack-trace-decoder)
- [Equirectangular to Cubemap Converter](https://toolipedia.app/equirectangular-to-cubemap)
