~/devtools / http-status
tool::http-status

HTTPステータス
コード

1xxから5xxまでの全HTTPステータスコードを説明付きで参照・検索できます。

ad · 728×90
61 / 61
100
Continue
Client should continue with the request.
1xx
101
Switching Protocols
Server is switching protocols as requested.
1xx
102
Processing
Server has received the request but has not yet completed it.
1xx
103
Early Hints
Used to preload resources while the server is still processing.
1xx
200
OK
The request has succeeded.
2xx
201
Created
The request has been fulfilled and a new resource has been created.
2xx
202
Accepted
The request has been accepted but not yet acted upon.
2xx
203
Non-Authoritative Information
The response is from a transforming proxy, not the origin server.
2xx
204
No Content
The server successfully processed the request but returns no content.
2xx
205
Reset Content
The server processed the request; the client should reset the document view.
2xx
206
Partial Content
The server is returning partial content due to a Range header.
2xx
207
Multi-Status
Multiple status codes for multiple independent operations (WebDAV).
2xx
208
Already Reported
Members of a DAV binding have already been enumerated.
2xx
226
IM Used
The server fulfilled the request using instance manipulations.
2xx
300
Multiple Choices
Multiple options for the requested resource.
3xx
301
Moved Permanently
The resource has permanently moved to a new URL.
3xx
302
Found
The resource is temporarily at a different URL.
3xx
303
See Other
Redirect to another resource using GET.
3xx
304
Not Modified
The cached version is still valid; no new content to return.
3xx
307
Temporary Redirect
Temporary redirect preserving the original HTTP method.
3xx
308
Permanent Redirect
Permanent redirect preserving the original HTTP method.
3xx
400
Bad Request
The server could not understand the request due to invalid syntax.
4xx
401
Unauthorized
Authentication is required and has failed or not been provided.
4xx
402
Payment Required
Reserved for future use; some services use it for payment walls.
4xx
403
Forbidden
The server refuses to fulfill the request (authenticated but unauthorized).
4xx
404
Not Found
The requested resource could not be found.
4xx
405
Method Not Allowed
The HTTP method is not supported for this resource.
4xx
406
Not Acceptable
No content matching the Accept headers is available.
4xx
407
Proxy Authentication Required
Authentication with a proxy is required.
4xx
408
Request Timeout
The server timed out waiting for the request.
4xx
409
Conflict
The request conflicts with the current state of the server.
4xx
410
Gone
The resource has been permanently deleted and will not return.
4xx
411
Length Required
The Content-Length header is required but not provided.
4xx
412
Precondition Failed
One or more conditions in the request headers evaluated to false.
4xx
413
Content Too Large
The request body exceeds the server's size limit.
4xx
414
URI Too Long
The request URI is longer than the server can process.
4xx
415
Unsupported Media Type
The media type of the request is not supported.
4xx
416
Range Not Satisfiable
The range specified in the Range header cannot be fulfilled.
4xx
417
Expectation Failed
The expectation in the Expect header cannot be met.
4xx
418
I'm a Teapot
The server refuses to brew coffee; it is a teapot (RFC 2324).
4xx
421
Misdirected Request
The request was directed at a server unable to produce a response.
4xx
422
Unprocessable Content
The request is well-formed but contains semantic errors.
4xx
423
Locked
The resource being accessed is locked (WebDAV).
4xx
424
Failed Dependency
The request failed because a previous request failed (WebDAV).
4xx
425
Too Early
The server is unwilling to process a potentially replayed request.
4xx
426
Upgrade Required
The client should switch to a different protocol.
4xx
428
Precondition Required
The server requires the request to be conditional.
4xx
429
Too Many Requests
The user has sent too many requests in a given time (rate limiting).
4xx
431
Request Header Fields Too Large
Request headers are too large for the server to process.
4xx
451
Unavailable For Legal Reasons
The resource is unavailable due to legal restrictions.
4xx
500
Internal Server Error
The server encountered an unexpected condition.
5xx
501
Not Implemented
The server does not support the requested functionality.
5xx
502
Bad Gateway
The gateway received an invalid response from an upstream server.
5xx
503
Service Unavailable
The server is temporarily unable to handle the request.
5xx
504
Gateway Timeout
The gateway did not receive a timely response from an upstream server.
5xx
505
HTTP Version Not Supported
The HTTP version used in the request is not supported.
5xx
506
Variant Also Negotiates
A circular reference in transparent content negotiation.
5xx
507
Insufficient Storage
The server is unable to store the representation (WebDAV).
5xx
508
Loop Detected
An infinite loop was detected while processing the request (WebDAV).
5xx
510
Not Extended
Further extensions to the request are required.
5xx
511
Network Authentication Required
Network authentication is required before accessing resources.
5xx
ad · 300×250
// about this tool

HTTPステータスコードについて

HTTPステータスコードは、クライアントのリクエストに対するサーバーの応答結果を3桁の数字で表します。最初の桁が応答の分類を示します:1xxは情報、2xxは成功、3xxはリダイレクト、4xxはクライアントエラー、5xxはサーバーエラーです。このシステムはHTTP/1.0(RFC 1945、1996年)で導入され、現在のHTTP/2やHTTP/3にも引き継がれています。

実務で最もよく見かけるコードは200(OK)、201(Created)、301(Moved Permanently)、302(Found)、400(Bad Request)、401(Unauthorized)、403(Forbidden)、404(Not Found)、500(Internal Server Error)です。401と403の違い(認証失敗vs認可拒否)や301と302の違い(永続的vs一時的リダイレクト)は、API設計とSEOに直接影響します。

このツールは1xx〜5xxの標準HTTPステータスコードをカテゴリタブで整理し、コード番号や名前でリアルタイム検索できます。コードをクリックするとクリップボードにコピーされます。REST API設計、サーバーデバッグ、Web開発学習のクイックリファレンスとして活用してください。

主な使用例
  • 馴染みのないHTTPステータスコードの正確な意味を調べる
  • REST API設計時の正しいステータスコード選択
  • サーバーやサードパーティAPIのHTTPエラーのデバッグ
  • リダイレクトコードの正しい使い方を確認(301 vs 302 vs 307 vs 308)
  • 認証エラーの区別を確認(401 vs 403)
よくある質問
Q. 401と403の違いは何ですか?
401 Unauthorizedは「認証(Authentication)が必要か失敗した」ことを意味します。サーバーがあなたが誰かを知らない状態です。403 Forbiddenは「認証は成功したが、このリソースへのアクセス権限がない(Authorization失敗)」ことを意味します。誰かは分かっているが許可しないという状態です。
Q. 301と302と307と308の使い分けは?
301(Moved Permanently)と308(Permanent Redirect)は永続的なURL変更に使用し、検索エンジンはリンク評価を新URLに移します。302(Found)と307(Temporary Redirect)は一時的なリダイレクトで、検索エンジンは元のURLをインデックスし続けます。307/308は301/302と異なりリダイレクト時のHTTPメソッドを変更しません。
Q. 418 I'm a Teapotは実際に使われますか?
RFC 2324でエイプリルフールのジョークとして定義されましたが、IANAのHTTPステータスコードレジストリに登録されています。実際のAPIでユーモアある拒否レスポンスとして使われることもありますが、本番環境での使用は推奨されません。技術的には有効で広く認知されています。
// related tools
Cron Expression Generator
ビジュアルエディタでcron式を作成・解析。次回5回の実行時刻をプレビューし、よく使うプリセットから始められます。
jwt
JWT Decoder
JWTトークンをデコードして内容を確認。ヘッダー・ペイロード・署名の詳細を表示します。
rx
Regex Tester
リアルタイムでマッチをハイライト表示。グループのキャプチャや説明付きで正規表現をテストできます。
Color Converter
HEX・RGB・HSL形式でカラーコードを変換。カラーピッカーで視覚的に選択できます。