{"id":8309244,"date":"2025-07-27T14:04:02","date_gmt":"2025-07-27T11:04:02","guid":{"rendered":"https:\/\/elementor.com\/?p=8309244"},"modified":"2025-08-04T14:20:40","modified_gmt":"2025-08-04T14:20:40","slug":"image-cropper","status":"publish","type":"post","link":"https:\/\/elementor.com\/tools\/image-cropper\/","title":{"rendered":"Image Cropper"},"content":{"rendered":"\t\t<div data-elementor-type=\"container\" data-elementor-id=\"8309778\" class=\"elementor elementor-8309778\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-74c5ed5c e-flex e-con-boxed e-con e-parent\" data-id=\"74c5ed5c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6837546a elementor-widget elementor-widget-spacer\" data-id=\"6837546a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6a9442cd elementor-widget elementor-widget-html\" data-id=\"6a9442cd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t <style>\r\n        \r\n\r\n        .html-viewer-app {\r\n            width: 100%;\r\n            max-width: 980px;\r\n            margin: 0 auto;\r\n        }\r\n        \r\n        .cropper-section {\r\n            width: 100%;\r\n            background: white;\r\n            border-radius: 8px;\r\n            overflow: hidden;\r\n            box-shadow: 0 4px 15px rgba(0,0,0,0.05);\r\n            border: 1px solid #EBEBEB;\r\n        }\r\n\r\n        .section-header {\r\n            background-color: #05047E;\r\n            color: white;\r\n            padding: 16px 24px;\r\n            font-weight: 500;\r\n            font-size: 1.25rem;\r\n            text-align: center;\r\n        }\r\n\r\n        .cropper-content {\r\n            padding: 24px 32px 32px;\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 24px;\r\n        }\r\n        \r\n        \/* File Upload Styling *\/\r\n        .file-upload-area {\r\n            width: 100%;\r\n            border: 2px dashed #EBEBEB;\r\n            border-radius: 8px;\r\n            display: flex;\r\n            flex-direction: column;\r\n            justify-content: center;\r\n            align-items: center;\r\n            padding: 30px;\r\n            text-align: center;\r\n            cursor: pointer;\r\n            transition: background-color 0.2s, border-color 0.2s;\r\n        }\r\n        .file-upload-area:hover {\r\n            background-color: #fdfdff;\r\n            border-color: #4d4dff;\r\n        }\r\n        .file-upload-area p {\r\n            margin: 0;\r\n            color: #555;\r\n            font-weight: 500;\r\n        }\r\n        #fileInput {\r\n            display: none;\r\n        }\r\n        \r\n        \/* Image Preview & Cropper Styling *\/\r\n        #cropperContainer {\r\n            position: relative;\r\n            width: 100%;\r\n            max-height: 400px;\r\n            display: none; \/* Hidden until image is loaded *\/\r\n            touch-action: none;\r\n        }\r\n        #imageToCrop {\r\n            max-width: 100%;\r\n            max-height: 400px;\r\n            display: block;\r\n            user-select: none;\r\n        }\r\n        #cropBox {\r\n            position: absolute;\r\n            box-sizing: border-box;\r\n            border: 2px solid rgba(77, 77, 255, 0.8);\r\n            background-color: rgba(77, 77, 255, 0.2);\r\n            cursor: move;\r\n            display: none;\r\n        }\r\n        .resize-handle {\r\n            position: absolute;\r\n            width: 10px;\r\n            height: 10px;\r\n            background-color: rgba(77, 77, 255, 0.9);\r\n            border: 1px solid white;\r\n            border-radius: 50%;\r\n        }\r\n        .nw { top: -6px; left: -6px; cursor: nwse-resize; }\r\n        .ne { top: -6px; right: -6px; cursor: nesw-resize; }\r\n        .sw { bottom: -6px; left: -6px; cursor: nesw-resize; }\r\n        .se { bottom: -6px; right: -6px; cursor: nwse-resize; }\r\n        \r\n        \/* Controls Styling *\/\r\n        .controls-grid {\r\n            display: grid;\r\n            grid-template-columns: 1fr 1fr;\r\n            gap: 16px 20px;\r\n        }\r\n        .input-group {\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 8px;\r\n        }\r\n        .input-group label {\r\n            font-weight: 500;\r\n            font-size: 0.95rem;\r\n            color: #555;\r\n        }\r\n        .input-field, .select-field {\r\n            width: 100%;\r\n            padding: 10px 12px;\r\n            border: 1.5px solid #EBEBEB;\r\n            border-radius: 6px;\r\n            font-family: 'DM Sans', sans-serif;\r\n            font-size: 1rem;\r\n            box-sizing: border-box;\r\n            background-color: #fdfdff;\r\n        }\r\n        .input-field:focus, .select-field:focus {\r\n            outline: none;\r\n            border-color: #4d4dff;\r\n        }\r\n        \r\n        .aspect-ratio-group {\r\n            grid-column: 1 \/ -1;\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 10px;\r\n        }\r\n        \r\n        .reset-btn {\r\n            background: none;\r\n            border: 1px solid #ddd;\r\n            color: #555;\r\n            padding: 10px;\r\n            border-radius: 6px;\r\n            cursor: pointer;\r\n            transition: all 0.2s;\r\n        }\r\n        .reset-btn:hover:not(:disabled) {\r\n            background-color: #f5f5f5;\r\n            border-color: #ccc;\r\n        }\r\n\r\n        .download-btn {\r\n            background-color: #000;\r\n            color: white;\r\n            border: none;\r\n            padding: 14px 24px;\r\n            cursor: pointer;\r\n            font-size: 1.125rem;\r\n            font-weight: 500;\r\n            transition: all 0.2s;\r\n            border-radius: 8px;\r\n            width: 100%;\r\n        }\r\n        .download-btn:hover:not(:disabled) {\r\n            background-color: #545454;\r\n        }\r\n        \r\n        \/* Disabled state for controls *\/\r\n        .input-field:disabled, .select-field:disabled, .reset-btn:disabled, .download-btn:disabled, input[type=\"checkbox\"]:disabled + label {\r\n            opacity: 0.5;\r\n            cursor: not-allowed;\r\n            background-color: #f9f9f9;\r\n        }\r\n\r\n        \/* Responsive Design *\/\r\n        @media (max-width: 600px) {\r\n            .cropper-content {\r\n                padding: 20px;\r\n            }\r\n            .controls-grid {\r\n                grid-template-columns: 1fr;\r\n            }\r\n            .aspect-ratio-group {\r\n                grid-column: 1; \/* Reset column span for single column layout *\/\r\n            }\r\n        }\r\n    <\/style>\r\n\r\n\r\n    <div class=\"html-viewer-app\">\r\n        <div class=\"cropper-section\">\r\n            <div class=\"section-header\">\r\n                Image Cropper\r\n            <\/div>\r\n            <div class=\"cropper-content\">\r\n                <label for=\"fileInput\" class=\"file-upload-area\" id=\"fileUploadArea\">\r\n                    <p>Click to upload image<\/p>\r\n                <\/label>\r\n                <input type=\"file\" id=\"fileInput\" accept=\"image\/png, image\/jpeg, image\/webp\">\r\n                \r\n                <div id=\"cropperContainer\">\r\n                    <img decoding=\"async\" id=\"imageToCrop\" src=\"\" alt=\"Image to crop\">\r\n                    <div id=\"cropBox\">\r\n                        <div class=\"resize-handle nw\"><\/div>\r\n                        <div class=\"resize-handle ne\"><\/div>\r\n                        <div class=\"resize-handle sw\"><\/div>\r\n                        <div class=\"resize-handle se\"><\/div>\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <div class=\"controls-grid\" id=\"controls\">\r\n                    <div class=\"input-group\">\r\n                        <label for=\"widthInput\">Width<\/label>\r\n                        <input type=\"number\" id=\"widthInput\" class=\"input-field\">\r\n                    <\/div>\r\n                     <div class=\"input-group\">\r\n                        <label for=\"heightInput\">Height<\/label>\r\n                        <input type=\"number\" id=\"heightInput\" class=\"input-field\">\r\n                    <\/div>\r\n                    <div class=\"input-group\">\r\n                        <label for=\"xInput\">Position (X)<\/label>\r\n                        <input type=\"number\" id=\"xInput\" class=\"input-field\">\r\n                    <\/div>\r\n                    <div class=\"input-group\">\r\n                        <label for=\"yInput\">Position (Y)<\/label>\r\n                        <input type=\"number\" id=\"yInput\" class=\"input-field\">\r\n                    <\/div>\r\n                    <div class=\"aspect-ratio-group\">\r\n                        <input type=\"checkbox\" id=\"aspectLock\" checked>\r\n                        <label for=\"aspectLock\">Lock Aspect Ratio<\/label>\r\n                    <\/div>\r\n                     <div class=\"input-group\">\r\n                        <label for=\"formatSelect\">Download Format<\/label>\r\n                        <select id=\"formatSelect\" class=\"select-field\">\r\n                            <option value=\"image\/png\">PNG<\/option>\r\n                            <option value=\"image\/jpeg\">JPG<\/option>\r\n                            <option value=\"image\/webp\">WEBP<\/option>\r\n                        <\/select>\r\n                    <\/div>\r\n                    <button class=\"reset-btn\" id=\"resetBtn\">Reset<\/button>\r\n                <\/div>\r\n\r\n                <button class=\"download-btn\" id=\"downloadBtn\">Crop & Download<\/button>\r\n                \r\n                <canvas id=\"canvas\" style=\"display: none;\"><\/canvas>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n        \/\/ --- DOM Elements ---\r\n        const fileInput = document.getElementById('fileInput');\r\n        const cropperContainer = document.getElementById('cropperContainer');\r\n        const imageToCrop = document.getElementById('imageToCrop');\r\n        const cropBox = document.getElementById('cropBox');\r\n        const downloadBtn = document.getElementById('downloadBtn');\r\n        const formatSelect = document.getElementById('formatSelect');\r\n        const widthInput = document.getElementById('widthInput');\r\n        const heightInput = document.getElementById('heightInput');\r\n        const xInput = document.getElementById('xInput');\r\n        const yInput = document.getElementById('yInput');\r\n        const aspectLock = document.getElementById('aspectLock');\r\n        const resetBtn = document.getElementById('resetBtn');\r\n        const canvas = document.getElementById('canvas');\r\n        const ctx = canvas.getContext('2d');\r\n        const allControls = [widthInput, heightInput, xInput, yInput, aspectLock, formatSelect, resetBtn, downloadBtn];\r\n\r\n        \/\/ --- State Variables ---\r\n        let originalFile = null, isDrawing = false, isResizing = false, isDragging = false;\r\n        let resizeHandle = '', aspectRatio = 0;\r\n        let cropBoxRect = { x: 0, y: 0, width: 0, height: 0 };\r\n\r\n        \/\/ --- Initialization ---\r\n        function initialize() {\r\n            setControlsDisabled(true);\r\n            \/\/ Event Listeners\r\n            fileInput.addEventListener('change', handleFileSelect);\r\n            resetBtn.addEventListener('click', resetCrop);\r\n            downloadBtn.addEventListener('click', cropAndDownload);\r\n            cropperContainer.addEventListener('mousedown', startAction);\r\n            document.addEventListener('mousemove', performAction);\r\n            document.addEventListener('mouseup', endAction);\r\n            cropperContainer.addEventListener('touchstart', startAction, { passive: false });\r\n            document.addEventListener('touchmove', performAction, { passive: false });\r\n            document.addEventListener('touchend', endAction);\r\n            allControls.forEach(input => {\r\n                if(input.type === 'checkbox' || input.tagName === 'SELECT') {\r\n                    input.addEventListener('change', handleInputChange);\r\n                } else {\r\n                    input.addEventListener('input', handleInputChange);\r\n                }\r\n            });\r\n        }\r\n\r\n        \/\/ --- Functions ---\r\n        function setControlsDisabled(isDisabled) {\r\n            allControls.forEach(control => control.disabled = isDisabled);\r\n        }\r\n\r\n        function handleFileSelect(e) {\r\n            const file = e.target.files[0];\r\n            if (!file || !file.type.startsWith('image\/')) return;\r\n            \r\n            originalFile = file;\r\n            formatSelect.value = file.type;\r\n            \r\n            const reader = new FileReader();\r\n            reader.onload = (event) => {\r\n                imageToCrop.src = event.target.result;\r\n                imageToCrop.onload = () => {\r\n                    cropperContainer.style.display = 'block';\r\n                    setControlsDisabled(false);\r\n                    resetCrop();\r\n                };\r\n            };\r\n            reader.readAsDataURL(file);\r\n        }\r\n\r\n        function getClientCoords(e) {\r\n            return e.touches ? { x: e.touches[0].clientX, y: e.touches[0].clientY } : { x: e.clientX, y: e.clientY };\r\n        }\r\n\r\n        function startAction(e) {\r\n            e.preventDefault();\r\n            const coords = getClientCoords(e);\r\n            const target = e.target;\r\n            \r\n            if (target.classList.contains('resize-handle')) {\r\n                isResizing = true;\r\n                resizeHandle = target.className.split(' ')[1];\r\n            } else if (target === cropBox) {\r\n                isDragging = true;\r\n            } else {\r\n                isDrawing = true;\r\n                const rect = cropperContainer.getBoundingClientRect();\r\n                cropBoxRect.x = coords.x - rect.left;\r\n                cropBoxRect.y = coords.y - rect.top;\r\n                cropBoxRect.width = 0;\r\n                cropBoxRect.height = 0;\r\n                cropBox.style.display = 'block';\r\n            }\r\n        }\r\n\r\n        function performAction(e) {\r\n            if (!isDrawing && !isResizing && !isDragging) return;\r\n            e.preventDefault();\r\n            const coords = getClientCoords(e);\r\n            const rect = cropperContainer.getBoundingClientRect();\r\n            const mouseX = coords.x - rect.left;\r\n            const mouseY = coords.y - rect.top;\r\n            \r\n            if (isDrawing) {\r\n                cropBoxRect.width = mouseX - cropBoxRect.x;\r\n                cropBoxRect.height = mouseY - cropBoxRect.y;\r\n            } else if (isDragging) {\r\n                cropBoxRect.x = mouseX - cropBoxRect.width \/ 2;\r\n                cropBoxRect.y = mouseY - cropBoxRect.height \/ 2;\r\n            } else if (isResizing) {\r\n                const right = cropBoxRect.x + cropBoxRect.width;\r\n                const bottom = cropBoxRect.y + cropBoxRect.height;\r\n                if (resizeHandle.includes('e')) cropBoxRect.width = mouseX - cropBoxRect.x;\r\n                if (resizeHandle.includes('w')) {\r\n                    cropBoxRect.width = right - mouseX;\r\n                    cropBoxRect.x = mouseX;\r\n                }\r\n                if (resizeHandle.includes('s')) cropBoxRect.height = mouseY - cropBoxRect.y;\r\n                if (resizeHandle.includes('n')) {\r\n                    cropBoxRect.height = bottom - mouseY;\r\n                    cropBoxRect.y = mouseY;\r\n                }\r\n            }\r\n            if (aspectLock.checked && aspectRatio > 0) {\r\n                 if(isResizing) {\r\n                    if (resizeHandle.includes('e') || resizeHandle.includes('w')) {\r\n                         cropBoxRect.height = cropBoxRect.width \/ aspectRatio;\r\n                    } else {\r\n                         cropBoxRect.width = cropBoxRect.height * aspectRatio;\r\n                    }\r\n                 } else if (isDrawing) {\r\n                    cropBoxRect.height = cropBoxRect.width \/ aspectRatio;\r\n                 }\r\n            }\r\n            \r\n            updateCropBox();\r\n        }\r\n\r\n        function endAction() {\r\n            if ((isDrawing || isResizing) && !aspectLock.checked) {\r\n                aspectRatio = cropBoxRect.width \/ cropBoxRect.height;\r\n            }\r\n            isDrawing = false; isResizing = false; isDragging = false;\r\n        }\r\n\r\n        function updateCropBox() {\r\n            const rect = cropperContainer.getBoundingClientRect();\r\n            if (cropBoxRect.x < 0) cropBoxRect.x = 0;\r\n            if (cropBoxRect.y < 0) cropBoxRect.y = 0;\r\n            if (cropBoxRect.x + cropBoxRect.width > rect.width) cropBoxRect.width = rect.width - cropBoxRect.x;\r\n            if (cropBoxRect.y + cropBoxRect.height > rect.height) cropBoxRect.height = rect.height - cropBoxRect.y;\r\n\r\n            cropBox.style.left = `${cropBoxRect.x}px`;\r\n            cropBox.style.top = `${cropBoxRect.y}px`;\r\n            cropBox.style.width = `${cropBoxRect.width}px`;\r\n            cropBox.style.height = `${cropBoxRect.height}px`;\r\n\r\n            widthInput.value = Math.round(cropBoxRect.width);\r\n            heightInput.value = Math.round(cropBoxRect.height);\r\n            xInput.value = Math.round(cropBoxRect.x);\r\n            yInput.value = Math.round(cropBoxRect.y);\r\n        }\r\n        \r\n        function handleInputChange(e) {\r\n            const width = parseInt(widthInput.value);\r\n            const height = parseInt(heightInput.value);\r\n\r\n            if (aspectLock.checked && aspectRatio > 0) {\r\n                if (e.target === widthInput) {\r\n                    heightInput.value = Math.round(width \/ aspectRatio);\r\n                } else if (e.target === heightInput) {\r\n                    widthInput.value = Math.round(height * aspectRatio);\r\n                }\r\n            } else if (width > 0 && height > 0) {\r\n                 aspectRatio = width \/ height;\r\n            }\r\n\r\n            cropBoxRect.width = parseInt(widthInput.value);\r\n            cropBoxRect.height = parseInt(heightInput.value);\r\n            cropBoxRect.x = parseInt(xInput.value);\r\n            cropBoxRect.y = parseInt(yInput.value);\r\n            \r\n            updateCropBox();\r\n        }\r\n\r\n        function resetCrop() {\r\n            cropBox.style.display = 'block';\r\n            const containerWidth = cropperContainer.clientWidth;\r\n            const containerHeight = cropperContainer.clientHeight;\r\n            cropBoxRect = { x: containerWidth * 0.1, y: containerHeight * 0.1, width: containerWidth * 0.8, height: containerHeight * 0.8 };\r\n            aspectRatio = cropBoxRect.width \/ cropBoxRect.height;\r\n            updateCropBox();\r\n        }\r\n\r\n        function cropAndDownload() {\r\n            const scaleX = imageToCrop.naturalWidth \/ imageToCrop.width;\r\n            const scaleY = imageToCrop.naturalHeight \/ imageToCrop.height;\r\n\r\n            const sx = cropBoxRect.x * scaleX, sy = cropBoxRect.y * scaleY;\r\n            const sWidth = cropBoxRect.width * scaleX, sHeight = cropBoxRect.height * scaleY;\r\n            \r\n            if (sWidth <= 0 || sHeight <= 0) {\r\n                alert(\"Please select an area to crop.\");\r\n                return;\r\n            }\r\n\r\n            canvas.width = sWidth;\r\n            canvas.height = sHeight;\r\n\r\n            const mimeType = formatSelect.value;\r\n            if (mimeType === 'image\/jpeg') {\r\n                ctx.fillStyle = '#FFFFFF';\r\n                ctx.fillRect(0, 0, canvas.width, canvas.height);\r\n            }\r\n\r\n            ctx.drawImage(imageToCrop, sx, sy, sWidth, sHeight, 0, 0, sWidth, sHeight);\r\n\r\n            const fileExtension = mimeType.split('\/')[1];\r\n            const link = document.createElement('a');\r\n            const originalName = originalFile.name.substring(0, originalFile.name.lastIndexOf('.'));\r\n            link.download = `cropped-${originalName}.${fileExtension}`;\r\n            link.href = canvas.toDataURL(mimeType, 0.95);\r\n            link.click();\r\n        }\r\n        \r\n        initialize();\r\n    <\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[22],"tags":[21],"class_list":["post-8309244","post","type-post","status-publish","format-standard","hentry","category-tools","tag-html-css-tools"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Free Image Cropper | Crop &amp; Frame Images Online<\/title>\n<meta name=\"description\" content=\"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/tools\/image-cropper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Free Image Cropper | Crop &amp; Frame Images Online\" \/>\n<meta property=\"og:description\" content=\"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/tools\/image-cropper\/\" \/>\n<meta property=\"og:site_name\" content=\"Tools\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-27T11:04:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-04T14:20:40+00:00\" \/>\n<meta name=\"author\" content=\"Asaf Rotstain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asaf Rotstain\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/\"},\"author\":{\"name\":\"Asaf Rotstain\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7\"},\"headline\":\"Image Cropper\",\"datePublished\":\"2025-07-27T11:04:02+00:00\",\"dateModified\":\"2025-08-04T14:20:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/\"},\"wordCount\":4,\"keywords\":[\"Html-Css-tools\"],\"articleSection\":[\"tools\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/\",\"url\":\"https:\/\/elementor.com\/tools\/image-cropper\/\",\"name\":\"Free Image Cropper | Crop & Frame Images Online\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/#website\"},\"datePublished\":\"2025-07-27T11:04:02+00:00\",\"dateModified\":\"2025-08-04T14:20:40+00:00\",\"author\":{\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7\"},\"description\":\"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/tools\/image-cropper\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/tools\/image-cropper\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/elementor.com\/tools\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Image Cropper\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/tools\/#website\",\"url\":\"https:\/\/elementor.com\/tools\/\",\"name\":\"Tools\",\"description\":\"Just another Elementor hosted website ;)\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/tools\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7\",\"name\":\"Asaf Rotstain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g\",\"caption\":\"Asaf Rotstain\"},\"url\":\"https:\/\/elementor.com\/tools\/author\/asafr-211bae\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Free Image Cropper | Crop & Frame Images Online","description":"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/tools\/image-cropper\/","og_locale":"en_US","og_type":"article","og_title":"Free Image Cropper | Crop & Frame Images Online","og_description":"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website","og_url":"https:\/\/elementor.com\/tools\/image-cropper\/","og_site_name":"Tools","article_published_time":"2025-07-27T11:04:02+00:00","article_modified_time":"2025-08-04T14:20:40+00:00","author":"Asaf Rotstain","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Asaf Rotstain","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/tools\/image-cropper\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/image-cropper\/"},"author":{"name":"Asaf Rotstain","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7"},"headline":"Image Cropper","datePublished":"2025-07-27T11:04:02+00:00","dateModified":"2025-08-04T14:20:40+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/tools\/image-cropper\/"},"wordCount":4,"keywords":["Html-Css-tools"],"articleSection":["tools"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/tools\/image-cropper\/","url":"https:\/\/elementor.com\/tools\/image-cropper\/","name":"Free Image Cropper | Crop & Frame Images Online","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/#website"},"datePublished":"2025-07-27T11:04:02+00:00","dateModified":"2025-08-04T14:20:40+00:00","author":{"@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7"},"description":"Easily crop your images online with our free tool. change aspect ratios, and frame your photos perfectly for your website","breadcrumb":{"@id":"https:\/\/elementor.com\/tools\/image-cropper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/tools\/image-cropper\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/tools\/image-cropper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elementor.com\/tools\/"},{"@type":"ListItem","position":2,"name":"Image Cropper"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/tools\/#website","url":"https:\/\/elementor.com\/tools\/","name":"Tools","description":"Just another Elementor hosted website ;)","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/tools\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/3adf9f4dd31a1103c8d131d0fa733ee7","name":"Asaf Rotstain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b100acf76c133e3557847510ec2e00c3dd2957cdea2fac992f98838660513c6b?s=96&d=mm&r=g","caption":"Asaf Rotstain"},"url":"https:\/\/elementor.com\/tools\/author\/asafr-211bae\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8309244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/comments?post=8309244"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8309244\/revisions"}],"predecessor-version":[{"id":8309808,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8309244\/revisions\/8309808"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/media?parent=8309244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/categories?post=8309244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/tags?post=8309244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}