// blog
Put a Free Image Editor on Your Website With Two Lines of HTML
Paste an empty div and one script tag, and the free AI Web Center image editor appears on your page. Visitors open, drop or paste a photo and edit it in their own browser: crop, resize, fix the light, add text, blur a face, remove a spot or the background. Nothing is uploaded, to you or to us. You choose which tools show, and with one more option the finished photo goes straight into your upload form instead of a download.

Every site that takes photos gets the same ones: sideways, too dark, 8 MB straight off a phone, with the house in the background and the GPS position still inside. The visitor would fix it if fixing it didn’t mean finding an app first.
Now your page can be that app. It’s our free image editor, embedded.
Two lines
<div class="aiwc-image-editor"></div>
<script src="https://aiwebcenter.com/embed/image-editor.js" async></script>
The first line says where the editor goes; the second loads it. Visitors open a photo, drop it on the editor or paste a screenshot, and edit it in their own browser.
What visitors can do
The same editor as our own page:
- Crop, straighten, turn and resize.
- Auto fix the light and color, or use the sliders and 12 looks.
- Remove the background: tap the subject, and an AI model running in the browser finds its outline. Keep it see-through, put it on white, or blur it.
- Retouch a headshot: smoother skin, lighter under-eyes, whiter teeth, a firmer jawline, found by a face model in the browser.
- Add text, arrows and boxes; blur or black out a face or a license plate.
- Paint out a spot, a date stamp or a wire.
- See the hidden data, such as where a photo was taken, and save it without.
- Open iPhone HEIC photos, camera RAW files and PDF pages, and save JPEG, PNG, WebP, AVIF, PDF and more.
Only the tools you want
A club newsletter needs crop and text, not a background tool. List what should show:
<div class="aiwc-image-editor" data-tools="crop,resize,adjust,draw,export"></div>
data-accent gives the buttons your own color in place of our magenta, and data-height sets the editor’s size (760 pixels unless you say otherwise).
Straight into your upload form
This is the part most sites want. With data-save="page", the button that would download the photo hands it to your page instead, and data-input puts it in your form’s file field:
<input type="file" name="photo" id="photo" hidden>
<div class="aiwc-image-editor" data-save="page" data-input="#photo"
data-done="Use this photo" data-format="jpeg" data-max-kb="300" data-max-side="1600"></div>
The visitor crops and brightens the photo and presses Use this photo. Your form now holds a JPEG of at most 1,600 pixels and 300 KB, without its location, and uploads it the way it uploads any file. Nothing changes on your server. How that works, and how to take the photo in your own code instead, is in Let visitors edit a photo before your form uploads it.
What we see
Not the photos. The editor counts that it loaded on your site, that an image was opened and saved, its format and which tools were used, with your site’s name, so we know it’s used and what to build next. Never a file name or a picture.
Set it up
There’s a live editor, a live upload form, every option and a few recipes in the guide: the image editor on your website. Questions: support@aiwebcenter.com.
If you need more than an editor, such as a whole upload flow, a listing tool or a portal that keeps people’s files private, that’s what we build.
Frequently asked questions
Is it free?
Yes, for any website. The editor shows a small AI Web Center strip with links to our site, and a credit link above it.
Are my visitors' photos uploaded to you?
No. Each photo is opened, edited and saved in the visitor's own browser. If you let the editor hand the finished photo to your page, it goes from the frame to your page in the same browser, and from there only where your own form sends it.
Can I choose which tools show?
Yes. data-tools takes a list, such as crop,resize,adjust,export. Leave it out for all of them.
Does it show your sample photos?
No. The embedded editor is only the editor. It opens what your page hands it, or what your visitors open, drop or paste.
































































































































