Your hosts file, without the terminal. แก้ไฟล์ hosts ได้ง่ายๆ ไม่ต้องเปิด Terminal

A free macOS app that edits /etc/hosts safely, with validation, automatic backups and an optional AI assistant. แอป macOS ฟรีที่แก้ /etc/hosts อย่างปลอดภัย ตรวจความถูกต้อง สำรองไฟล์อัตโนมัติ และมีผู้ช่วย AI ให้ใช้เมื่อต้องการ

Hosts Manager window: /etc/hosts entries grouped into Local dev, Staging and Blocked sections, with the AI Agent panel on the right
  • Free and open sourceฟรีและโอเพนซอร์สMIT license, no adsสัญญาอนุญาต MIT ไม่มีโฆษณา
  • Native macOS appแอป macOS แท้SwiftUI, macOS 14 or laterSwiftUI รองรับ macOS 14 ขึ้นไป
  • No account, no trackingไม่ต้องสมัคร ไม่เก็บข้อมูลYour entries stay on your Macข้อมูลอยู่ในเครื่องของคุณ
  • 12 languages12 ภาษาSearch and switch in the Language panelค้นหาและสลับภาษาได้ในแผง Language

Organize, edit and undo with confidenceจัดระเบียบ แก้ไข และย้อนกลับได้อย่างมั่นใจ

Your existing file is read as it is. Comments, spacing and line endings stay exactly where you left them.แอปอ่านไฟล์เดิมตามที่เป็นอยู่ comment ช่องว่าง และการขึ้นบรรทัดใหม่ยังอยู่ครบเหมือนเดิม

Sections you can dragแบ่งหมวดแล้วลากจัดเรียงได้

A blank line and a # heading make a section. ⌘-click several rows and drag them together.บรรทัดว่างกับ # หัวข้อคือหนึ่งหมวด กด ⌘ แล้วคลิกเลือกหลายแถว ลากไปพร้อมกันได้เลย

Local dev, Staging and Blocked sections with enabled and disabled entries

System entries stay lockedรายการของระบบถูกล็อกไว้

localhost and broadcasthost can't be edited, toggled or deleted, so macOS keeps working.localhost และ broadcasthost แก้ ปิด หรือลบไม่ได้ macOS จึงทำงานได้ตามปกติ

Find any host fastหาโฮสต์ไหนก็เจอทันที

⌘F filters by IP or hostname as you type.⌘F กรองตาม IP หรือชื่อโฮสต์ขณะพิมพ์

Go back to any versionย้อนกลับไปเวอร์ชันไหนก็ได้

History lists your last 30 saves by what changed. Double-click one to go back, and pin the versions you want to keep.ประวัติแสดง 30 การบันทึกล่าสุดตามสิ่งที่เปลี่ยน ดับเบิลคลิกเพื่อย้อนกลับ และปักหมุดเวอร์ชันที่อยากเก็บไว้

History panel: Before staging changes and When Opened pinned, recent saves from Turned on admin.test to Restored Before staging changes

See the exact fileเห็นไฟล์จริงก่อนบันทึก

Preview Raw shows what will be written. Import any hosts file, or export an identical copy.Preview Raw แสดงสิ่งที่จะถูกเขียนลงไฟล์ นำเข้าไฟล์ hosts อื่น หรือส่งออกสำเนาที่ตรงทุกตัวอักษรได้

# Local dev
## docker compose
127.0.0.1   api.test web.test
# 127.0.0.1   admin.test

Make it yoursปรับให้เป็นสไตล์คุณ

Liquid Glass on macOS 26 and Sukhumvit Set type. Light, Dark or System, 16 accent colours and 8 gradient themes.Liquid Glass บน macOS 26 และฟอนต์ Sukhumvit Set เลือก Light, Dark หรือตามระบบ สี accent 16 สี และธีม gradient 8 แบบ

Safe by designออกแบบมาให้ปลอดภัย

Only a small helper can write /etc/hosts, and every save goes through the same five checks.มีเพียง helper ตัวเล็กเท่านั้นที่เขียน /etc/hosts ได้ และทุกการบันทึกต้องผ่าน 5 ขั้นตอนเดิมเสมอ

  1. Validateตรวจความถูกต้อง

    IP addresses and hostnames are checked, and 127.0.0.1 localhost must stay.ตรวจ IP และชื่อโฮสต์ และต้องมี 127.0.0.1 localhost เสมอ

  2. Check for outside editsเช็กว่ามีใครแก้ไฟล์ก่อน

    If another app changed the file, nothing is overwritten. The app reloads instead.ถ้าแอปอื่นแก้ไฟล์ไปแล้ว จะไม่เขียนทับ แอปจะโหลดไฟล์ใหม่แทน

  3. Back upสำรองไฟล์

    The previous file is saved first. The last 30 versions are kept.บันทึกไฟล์เดิมเก็บไว้ก่อน เก็บ 30 เวอร์ชันล่าสุด

  4. Write atomicallyเขียนแบบ atomic

    A crash in the middle of a save can't leave a half-written file.แม้เครื่องค้างระหว่างบันทึก ไฟล์ก็ไม่เสียครึ่งๆ กลางๆ

  5. Flush DNSล้าง DNS cache

    New entries work right away, no restart needed.รายการใหม่ใช้ได้ทันที ไม่ต้องรีสตาร์ต

The helper only answers the exact copy of Hosts Manager it ships with, checked by code signature. Other apps on your Mac can't use it to change your hosts file.helper จะตอบเฉพาะ Hosts Manager ตัวที่มาด้วยกันเท่านั้น โดยตรวจจาก code signature แอปอื่นในเครื่องจึงใช้มันแก้ไฟล์ hosts ไม่ได้

AI Agent answering how to block two domains: its thinking folded away, then a hosts code block and where to add it Edit Entry sheet with IP address, hostnames, a comment and the Generate Comment button

AI Agent

Ask about your hosts fileถามเรื่องไฟล์ hosts ได้เลย

Chat with an assistant that sees your current entries, or let it write the comment for a new one.คุยกับผู้ช่วยที่เห็นรายการของคุณ หรือให้ช่วยเขียนหมายเหตุของรายการใหม่

  • Generate Comment describes an entry in a few words. Only that entry is sent.Generate Comment เขียนหมายเหตุสั้นๆ ให้ ส่งไปเฉพาะรายการนั้น
  • One-click questions like “Are any entries duplicated or conflicting?”คำถามสำเร็จรูป เช่น “มีรายการซ้ำหรือขัดกันไหม?” กดได้ในคลิกเดียว
  • API keys stay in your Keychain. Pick Apple Intelligence or Ollama to keep everything on your Mac.API key เก็บใน Keychain เลือก Apple Intelligence หรือ Ollama ถ้าอยากให้ทุกอย่างอยู่ในเครื่อง
  • The AI never edits the file. Every change goes through you.AI ไม่แก้ไฟล์เอง ทุกการเปลี่ยนแปลงต้องผ่านคุณ
Apple Foundation Models Ollama Google Gemini Claude + OpenAI

Also by the same authorจากผู้พัฒนาคนเดียวกัน

Git Exclude Manager

The same window and the same ideas, for .git/info/exclude. Hide local files from git status without touching your team's .gitignore.หน้าตาและแนวคิดเดียวกัน แต่สำหรับ .git/info/exclude ซ่อนไฟล์ส่วนตัวจาก git status โดยไม่ต้องแตะ .gitignore ของทีม

Git Exclude Manager window with repository tabs, ignore patterns grouped into sections and the AI Agent panel

Get Hosts Manager for your Macใช้ Hosts Manager บน Mac ของคุณ

Free and open source. Setup takes about a minute.ฟรีและโอเพนซอร์ส ติดตั้งเสร็จในประมาณหนึ่งนาที