Google 可建立索引的檔案類型
Google 可以為大部分文字檔案和特定編碼文件格式的內容建立索引。最常見的檔案類型包括:
- Adobe 可攜式文件格式 (.pdf)
- Adobe PostScript (.ps)
- 逗號分隔值 (.csv)
- 電子出版品 (.epub)
- Google 地球 (.kml、.kmz)
- GPS eXchange 格式 (.gpx)
- Hancom Hanword (.hwp)
- HTML (.htm、.html 及其他副檔名)
- Microsoft Excel (.xls、.xlsx)
- Microsoft PowerPoint (.ppt、.pptx)
- Microsoft Word (.doc、.docx)
- OpenOffice 簡報 (.odp)
- OpenOffice 試算表 (.ods)
- OpenOffice 文字文件 (.odt)
- Rich Text Format (.rtf)
- 可縮放的向量圖形 (.svg)
- TeX/LaTeX (.tex)
-
文字檔案 (.txt、.text 和其他副檔名),包括使用下列常見程式設計語言編寫的原始碼,例如:
- Basic 原始碼 (.bas)
- C/C++ 原始碼 (.c、.cpp、.cxx、.h、.hpp)
- C# 原始碼 (.cs)
- Java 原始碼 (.java)
- Perl 原始碼 (.pl)
- Python 原始碼 (.py)
- 無線標記語言 (.wml、.wap)
- XML (.xml)
Google 也可以為下列媒體格式建立索引:
- 圖片格式: BMP、GIF、JPEG、PNG、WebP、SVG 和 AVIF
- 影片格式: 3GP、3G2、ASF、AVI、DivX、M2V、M3U、M3U8、M4V、MKV、MOV、MP4、MPEG、OGV、QVT、RAM、RM、VOB、WebM、WMV 和 XAP
依檔案類型搜尋
您可以在 Google 搜尋中使用 filetype:
運算子,將結果限制為特定檔案類型或副檔名。舉例來說,filetype:rtf galway
會搜尋結尾為 .rtf
且內容中含有「galway」字詞的 RTF 檔案和網址。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-25 (世界標準時間)。
[null,null,["上次更新時間:2025-02-25 (世界標準時間)。"],[[["Google can index various file types, including text-based documents, presentations, spreadsheets, and source code files, for search results."],["Google supports indexing common media formats like images (BMP, GIF, JPEG, PNG, etc.) and videos (MP4, AVI, MOV, etc.)."],["Users can refine their Google searches by specifying a desired file type using the `filetype:` operator to narrow results."]]],["Google indexes various text-based files and encoded document formats, including PDFs, HTML, Microsoft Office files, and OpenOffice formats. It also indexes source code files (like .c, .java, .py), XML, and more. Media formats such as common image types (JPEG, PNG) and video types (MP4, AVI) are indexable. Users can search for specific file types using the `filetype:` operator, to filter results to those formats.\n"]]