NTFD Nützliche Tools für dich
Anmelden Registrieren
{ const n = +o; return o !== '' && Number.isInteger(n) && n >= 0 && n <= 255; }); }, get u32() { return (((+this.oct[0])<<24)|((+this.oct[1])<<16)|((+this.oct[2])<<8)|(+this.oct[3]))>>>0; }, get hex() { return '0x' + this.u32.toString(16).padStart(8, '0').toUpperCase(); }, get bin() { const n = this.u32; return [(n>>>24)&255,(n>>>16)&255,(n>>>8)&255,n&255].map(x => x.toString(2).padStart(8,'0')).join('.'); }, get ipClass() { const a = +this.oct[0]; if (a < 128) return 'A'; if (a < 192) return 'B'; if (a < 224) return 'C'; if (a < 240) return 'D'; return 'E'; }, get scope() { const a = +this.oct[0], b = +this.oct[1]; if (a === 127) return this.i18n.loopback; if (a === 169 && b === 254) return this.i18n.linklocal; if (a === 10 || (a === 172 && b >= 16 && b <= 31) || (a === 192 && b === 168)) return this.i18n.private; return this.i18n.public; }, copy(key, val) { navigator.clipboard.writeText(String(val)); this.copiedKey = key; setTimeout(() => this.copiedKey = '', 1500); } }">

IP-Konverter

IPv4-Adresse in Dezimal, Hexadezimal und Binär umrechnen.

Klasse ()

Ungültige Eingabe.