Do long URLs affect SEO?

Do long URLs affect SEO?

Generally speaking, long URLs do not really have an effect on SEO, and it can be considered as an SEO myth but it is preferable to keep the URL short to make it easier to keep track of data. URLs are just identifiers which makes the length of the URL irrelevant. However one area and the only area potentially where URL length can matter is in canonicalization in google ranking systems. It helps google to merge similar URLs which have the same on page content and for the process of decision making where google has the option to show one of the URL this is where the length of the URLs could matter while other than that long URLs do not have a major influence.