1"use strict";(self.webpackChunksavedelete_react=self.webpackChunksavedelete_react||[]).push([[6017],{36017:(e,s,t)=>{t.r(s),t.d(s,{default:()=>f});var a=t(65043),r=t(49367),i=t(77819),l=t(36210),o=t(75088),n=t(72313),c=t(94651),d=t(35087),x=t(55731),m=t(57856),h=t(28006),g=t(63172),u=t(30380),p=t(50516),b=t(39292),j=t(20059),y=t(42489),v=t(46963),N=t(81885),w=t(70579);const f=()=>{const[e,s]=(0,a.useState)(null),[t,f]=(0,a.useState)(!0),[I,P]=(0,a.useState)(""),[A,k]=(0,a.useState)(!1),[S,C]=(0,a.useState)(""),[F,T]=(0,a.useState)(!1),[D,L]=(0,a.useState)(null),[_,O]=(0,a.useState)(!1);(0,a.useEffect)(()=>{M()},[]);const M=async()=>{f(!0),P("");try{const e=await fetch("https://savedelete.com/api/get-my-ip/"),t=await e.json();t.success?s(t.data):P(t.error||"Failed to retrieve IP information")}catch(e){P("Failed to connect to the server"),console.error("IP fetch error:",e)}finally{f(!1)}},R=async()=>{if(S.trim()){T(!0),L(null);try{const e=await fetch("https://savedelete.com/api/lookup-ip/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ip:S.trim()})}),s=await e.json();s.success?L(s.data):alert(s.error||"Lookup failed")}catch(e){alert("Failed to lookup IP address"),console.error("IP lookup error:",e)}finally{T(!1)}}},V=e=>{let{title:s,value:t,icon:a}=e;return(0,w.jsxs)("div",{className:"bg-white rounded-lg p-4 shadow-md border border-gray-200 hover:shadow-lg transition-shadow",children:[(0,w.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,w.jsx)("div",{className:"text-blue-600",children:a}),(0,w.jsx)("span",{className:"text-sm font-medium text-gray-600",children:s})]}),(0,w.jsx)("p",{className:"text-lg font-semibold text-gray-900 truncate",children:t})]})};return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(r.mg,{children:[(0,w.jsx)("title",{children:"What Is My IP Address? - Free IP Lookup Tool | SaveDelete"}),(0,w.jsx)("meta",{name:"description",content:"Find your IP address instantly. Get detailed information about your IPv4/IPv6, location, ISP, browser, device, and more. 100% free IP lookup tool."}),(0,w.jsx)("meta",{name:"keywords",content:"what is my ip, ip address, ip lookup, my ip address, find my ip, ip location"}),(0,w.jsx)("link",{rel:"canonical",href:"https://savedelete.com/what-is-my-ip/"}),(0,w.jsx)("meta",{property:"og:title",content:"What Is My IP Address? - Free IP Lookup Tool"}),(0,w.jsx)("meta",{property:"og:description",content:"Find your IP address instantly with detailed location, ISP, and device information."}),(0,w.jsx)("meta",{property:"og:url",content:"https://savedelete.com/what-is-my-ip/"}),(0,w.jsx)("meta",{property:"og:type",content:"website"}),(0,w.jsx)("meta",{property:"og:image",content:"https://savedelete.com/images/og-what-is-my-ip.jpg"}),(0,w.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"SaveDelete IP Address Lookup",applicationCategory:"UtilitiesApplication",operatingSystem:"All",isAccessibleForFree:!0,datePublished:"2024-08-01",dateModified:"2025-12-15",screenshot:{"@type":"ImageObject",url:"https://savedelete.com/images/og-what-is-my-ip.jpg",width:1200,height:630,caption:"What Is My IP - Free IP Address Lookup Tool"},offers:{"@type":"Offer",price:"0",priceCurrency:"USD",availability:"https://schema.org/InStock"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.7",ratingCount:"1892",bestRating:"5",worstRating:"1"},description:"Free IP address lookup tool. Find your IPv4/IPv6 address with detailed information about location, ISP, browser, and device."})})]}),(0,w.jsx)("div",{className:"min-h-screen bg-gradient-to-br from-blue-50 via-white to-indigo-50 py-8",children:(0,w.jsxs)("div",{className:"container mx-auto px-4 max-w-6xl",children:[(0,w.jsxs)("div",{className:"text-center mb-8",children:[(0,w.jsx)("div",{className:"flex items-center justify-center mb-4",children:(0,w.jsx)("div",{className:"p-3 bg-gradient-to-r from-blue-600 to-indigo-600 rounded-xl shadow-lg",children:(0,w.jsx)(x.A,{className:"w-10 h-10 text-white"})})}),(0,w.jsx)("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:"What Is My IP Address?"}),(0,w.jsx)("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Instantly discover your public IP address, location, ISP, and device information. 100% free with comprehensive details about your internet connection."})]}),t?(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-12 text-center border border-gray-200",children:[(0,w.jsx)(p.A,{className:"w-12 h-12 text-blue-600 animate-spin mx-auto mb-4"}),(0,w.jsx)("p",{className:"text-gray-600",children:"Detecting your IP address..."})]}):I?(0,w.jsxs)("div",{className:"bg-red-50 rounded-2xl shadow-xl p-8 text-center border-2 border-red-200",children:[(0,w.jsx)(i.A,{className:"w-12 h-12 text-red-600 mx-auto mb-4"}),(0,w.jsx)("p",{className:"text-red-700 text-lg mb-4",children:I}),(0,w.jsxs)("button",{onClick:M,className:"px-6 py-3 bg-red-600 text-white rounded-lg hover:bg-red-700 transition-colors inline-flex items-center gap-2",children:[(0,w.jsx)(p.A,{className:"w-5 h-5"}),"Try Again"]})]}):e?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"bg-gradient-to-r from-blue-600 to-indigo-600 rounded-2xl shadow-2xl p-8 mb-8 text-white border-2 border-blue-700",children:(0,w.jsxs)("div",{className:"text-center",children:[(0,w.jsx)("p",{className:"text-sm font-medium mb-2 opacity-90",children:"Your IP Address"}),(0,w.jsx)("div",{className:"text-5xl md:text-6xl font-bold mb-4 break-all",children:e.ip}),(0,w.jsxs)("div",{className:"flex items-center justify-center gap-4 flex-wrap",children:[(0,w.jsx)("span",{className:"px-4 py-2 bg-white/20 backdrop-blur-sm rounded-full text-sm font-medium",children:e.type}),(0,w.jsx)("button",{onClick:()=>{return s=e.ip,navigator.clipboard.writeText(s),k(!0),void setTimeout(()=>k(!1),2e3);var s},className:"px-6 py-2 bg-white text-blue-600 rounded-full hover:bg-blue-50 transition-colors inline-flex items-center gap-2 font-medium shadow-lg",children:A?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(l.A,{className:"w-5 h-5"}),"Copied!"]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(n.A,{className:"w-5 h-5"}),"Copy IP"]})}),(0,w.jsxs)("button",{onClick:M,className:"px-6 py-2 bg-white/20 backdrop-blur-sm text-white rounded-full hover:bg-white/30 transition-colors inline-flex items-center gap-2 font-medium",children:[(0,w.jsx)(p.A,{className:"w-5 h-5"}),"Refresh"]})]})]})}),(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center gap-2",children:[(0,w.jsx)(h.A,{className:"w-6 h-6 text-blue-600"}),"Location Information"]}),(0,w.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,w.jsx)(V,{title:"City",value:e.city,icon:(0,w.jsx)(h.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Region",value:e.region,icon:(0,w.jsx)(h.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Country",value:"".concat(e.country," (").concat(e.country_code,")"),icon:(0,w.jsx)(x.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Postal Code",value:e.postal,icon:(0,w.jsx)(h.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Timezone",value:"".concat(e.timezone," (").concat(e.utc_offset,")"),icon:(0,w.jsx)(o.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Local Time",value:e.local_time||"N/A",icon:(0,w.jsx)(o.A,{className:"w-5 h-5"})})]}),0!==e.latitude&&0!==e.longitude&&(0,w.jsx)("div",{className:"mt-6 rounded-lg overflow-hidden border border-gray-200",children:(0,w.jsx)("iframe",{title:"IP Location Map",width:"100%",height:"300",frameBorder:"0",src:"https://www.openstreetmap.org/export/embed.html?bbox=".concat(e.longitude-.1,",").concat(e.latitude-.1,",").concat(e.longitude+.1,",").concat(e.latitude+.1,"&layer=mapnik&marker=").concat(e.latitude,",").concat(e.longitude)})})]}),(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center gap-2",children:[(0,w.jsx)(N.A,{className:"w-6 h-6 text-blue-600"}),"Connection Details"]}
1),(0,w.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,w.jsx)(V,{title:"ISP / Organization",value:e.isp,icon:(0,w.jsx)(j.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"ASN",value:e.asn,icon:(0,w.jsx)(u.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Network",value:e.network,icon:(0,w.jsx)(u.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Hostname",value:e.hostname,icon:(0,w.jsx)(j.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Currency",value:e.currency,icon:(0,w.jsx)(x.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Languages",value:e.languages,icon:(0,w.jsx)(x.A,{className:"w-5 h-5"})})]})]}),e.device&&(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center gap-2",children:[(0,w.jsx)(g.A,{className:"w-6 h-6 text-blue-600"}),"Device Information"]}),(0,w.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,w.jsx)(V,{title:"Device Type",value:e.device.type,icon:"Mobile"===e.device.type?(0,w.jsx)(v.A,{className:"w-5 h-5"}):(0,w.jsx)(g.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Browser",value:e.device.browser,icon:(0,w.jsx)(x.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Operating System",value:e.device.os,icon:(0,w.jsx)(g.A,{className:"w-5 h-5"})})]})]}),e.security&&(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center gap-2",children:[(0,w.jsx)(y.A,{className:"w-6 h-6 text-blue-600"}),"Security Check"]}),(0,w.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[(0,w.jsxs)("div",{className:"p-4 rounded-lg border-2 ".concat(e.security.is_vpn?"bg-orange-50 border-orange-300":"bg-green-50 border-green-300"),children:[(0,w.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,w.jsx)(y.A,{className:"w-5 h-5 ".concat(e.security.is_vpn?"text-orange-600":"text-green-600")}),(0,w.jsx)("span",{className:"font-semibold text-gray-900",children:"VPN Detection"})]}),(0,w.jsx)("p",{className:"text-sm ".concat(e.security.is_vpn?"text-orange-700":"text-green-700"),children:e.security.is_vpn?"VPN Detected":"No VPN Detected"})]}),(0,w.jsxs)("div",{className:"p-4 rounded-lg border-2 ".concat(e.security.is_datacenter?"bg-blue-50 border-blue-300":"bg-green-50 border-green-300"),children:[(0,w.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,w.jsx)(j.A,{className:"w-5 h-5 ".concat(e.security.is_datacenter?"text-blue-600":"text-green-600")}),(0,w.jsx)("span",{className:"font-semibold text-gray-900",children:"Datacenter"})]}),(0,w.jsx)("p",{className:"text-sm ".concat(e.security.is_datacenter?"text-blue-700":"text-green-700"),children:e.security.is_datacenter?"Datacenter IP":"Residential IP"})]})]})]}),(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("button",{onClick:()=>O(!_),className:"w-full flex items-center justify-between text-left",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 flex items-center gap-2",children:[(0,w.jsx)(m.A,{className:"w-6 h-6 text-blue-600"}),"Advanced Details"]}),_?(0,w.jsx)(c.A,{className:"w-5 h-5 text-gray-600"}):(0,w.jsx)(d.A,{className:"w-5 h-5 text-gray-600"})]}),_&&e.headers&&(0,w.jsx)("div",{className:"mt-4 space-y-3",children:(0,w.jsxs)("div",{className:"p-4 bg-gray-50 rounded-lg border border-gray-200",children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"HTTP Headers"}),(0,w.jsx)("div",{className:"space-y-2 text-sm",children:Object.entries(e.headers).map(e=>{let[s,t]=e;return(0,w.jsxs)("div",{className:"flex gap-2",children:[(0,w.jsxs)("span",{className:"font-medium text-gray-700 capitalize",children:[s.replace(/_/g," "),":"]}),(0,w.jsx)("span",{className:"text-gray-900 break-all",children:String(t)})]},s)})})]})})]})]}):null,(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-6 mb-8 border border-gray-200",children:[(0,w.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center gap-2",children:[(0,w.jsx)(b.A,{className:"w-6 h-6 text-blue-600"}),"Lookup Any IP Address"]}),(0,w.jsxs)("div",{className:"flex gap-2",children:[(0,w.jsx)("input",{type:"text",value:S,onChange:e=>C(e.target.value),onKeyPress:e=>"Enter"===e.key&&R(),placeholder:"Enter IP address (e.g., 8.8.8.8)",className:"flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",disabled:F}),(0,w.jsx)("button",{onClick:R,disabled:F||!S.trim(),className:"px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center gap-2",children:F?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(p.A,{className:"w-5 h-5 animate-spin"}),"Looking up..."]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(b.A,{className:"w-5 h-5"}),"Lookup"]})})]}),D&&(0,w.jsxs)("div",{className:"mt-6 p-6 bg-gray-50 rounded-lg border border-gray-200",children:[(0,w.jsxs)("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:["Lookup Results for ",D.ip]}),(0,w.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,w.jsx)(V,{title:"Location",value:"".concat(D.city,", ").concat(D.country),icon:(0,w.jsx)(h.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"ISP",value:D.isp,icon:(0,w.jsx)(j.A,{className:"w-5 h-5"})}),(0,w.jsx)(V,{title:"Type",value:D.type,icon:(0,w.jsx)(u.A,{className:"w-5 h-5"})})]})]})]}),(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-8 mb-8 border border-gray-200",children:[(0,w.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"About IP Addresses"}),(0,w.jsxs)("div",{className:"space-y-4 text-gray-700",children:[(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"What is an IP Address?"}),(0,w.jsx)("p",{className:"text-sm",children:"An IP (Internet Protocol) address is a unique numerical label assigned to every device connected to the internet. It serves two main purposes: identifying the host or network interface and providing the location of the device in the network."})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"IPv4 vs IPv6"}),(0,w.jsx)("p",{className:"text-sm",children:"IPv4 addresses use a 32-bit format (e.g., 192.168.1.1) and can provide about 4.3 billion unique addresses. IPv6 uses a 128-bit format (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334) and provides virtually unlimited addresses."})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"Why does my IP address matter?"}),(0,w.jsx)("p",{className:"text-sm",children:"Your IP address reveals your approximate geographic location and ISP. It's used for geolocation services, security purposes, troubleshooting network issues, and more. Some websites may restrict access based on your IP location."})]})]})]}),(0,w.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-8 border border-gray-200",children:[(0,w.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Frequently Asked Questions"}),(0,w.jsxs)("div",{className:"space-y-4",children:[(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"Is this tool free?"}),(0,w.jsx)("p",{className:"text-gray-600 text-sm",children:"Yes! Our IP lookup tool is 100% free with no registration required and no limitations."})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"How accurate is the location?"}),(0,w.jsx)("p",{className:"text-gray-600 text-sm",children:"The location shown is approximate, typically accurate to the city level. The exact accuracy depends on your ISP's database."})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"Can I hide my IP address?"}),(0,w.jsx)("p",{className:"text-gray-600 text-sm",children:"Yes, you can use a VPN (Virtual Private Network) or proxy server to mask your real IP address with a different one."})]}),(0,w.jsxs)("div",{children:[(0,w.jsx)("h3",{className:"font-semibold text-gray-900 mb-2",children:"Does my IP address change?"}),(0,w.jsx)("p",{className:"text-gray-600 text-sm",children:"Most home internet connections use dynamic IP addresses that can change periodically. Business connections often have static IP addresses that remain constant."})]})]})]})]})})]})}}}]); 2//# sourceMappingURL=6017.84cf3134.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.