Home > Getting Started > Devices

User Agent Strings for Fire Tablets

Introduction

All Fire tablets include the Amazon Silk browser and android.webkit.WebView.

An app or web page can read the user agent string to detect a Fire tablet and then provide a specific user experience. User agent strings can include the version of the host operating system, the version of the browser, and other information.

User Agent Strings

When reading the user agent string, do not rely on specific version numbers within the string that are subject to change when the tablet software is updated.

The following table shows the user agent strings for the Fire tablets.

Tablet User agent String

Fire HDX 8.9 (4th Generation)

Fire HD 7 (4th Generation)

Fire HD 6 (4th Generation)

Silk browser See Amazon Silk User Agent in the Amazon Silk Developer Guide.
android.webkit.WebView Mozilla/5.0 (Linux; U; Android 4.4.2; <locale>; <device> Build/<build>) AppleWebKit/<webkit> (KHTML, like Gecko) Version/4.0 Chrome/<chrome> Safari/<safari>
Web app runtime See Web App FAQs.

Kindle Fire HDX 8.9" (3rd Generation)

Kindle Fire HDX 7" (3rd Generation)

Kindle Fire HD 7" (3rd Generation)

Silk browser See Amazon Silk User Agent in the Amazon Silk Developer Guide.
android.webkit.WebView Mozilla/5.0 (Linux; U; Android 4.2.2; <locale>; <device> Build/<build>) AppleWebKit/<webkit> (KHTML, like Gecko) Version/4.0 Safari/<safari>
Web app runtime See Web App FAQs.

Kindle Fire HD 8.9" (2nd Generation)

Kindle Fire HD 7" (2nd Generation)

Kindle Fire (2nd Generation)

Silk browser See Amazon Silk User Agent.
android.webkit.WebView Mozilla/5.0 (Linux; U; Android 4.0.3; <locale>; <device> Build/<build>) AppleWebKit/<webkit> (KHTML, like Gecko) Version/4.0 Safari/<safari>
Web app runtime See Web App FAQs.
Kindle Fire (1st Generation) Silk browser See Amazon Silk User Agent.
android.webkit.WebView Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Kindle Fire Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Safari/533.1
Web app runtime See Web App FAQs.

Placeholders in User Agent Strings

The following placeholders in the user agent string are for version numbers that vary by device, or for values that can be altered by the user:

  • <locale> indicates the chosen language and country or region for the tablet. Locale is in hyphenated lowercase format.

  • <device> is a distinct value for each tablet.

  • <build> is the platform build number.

  • <webkit>, <safari>, and <chrome> indicate the versions for WebKit, Safari, and Chrome, for example 535.19. When Amazon updates the software on the tablets, these versions can change.